C++ Logo


Advanced search

Subject: Re: [std-proposals] Proposal - Allow '.' operator to work on pointers (again sortof)
From: Thiago Macieira (thiago_at_[hidden])
Date: 2020-03-05 10:09:46

On Wednesday, 4 March 2020 16:44:28 PST J Decker via Std-Proposals wrote:
> Reformatted this to resemble standard proposal
> https://gist.github.com/d3x0r/f496d0032476ed8b6f980f7ed31280da
> It fails to be ' The proposal may be in PDF, HTML, or plain text formats. '
> C Standard section Structure and union members
> add text in [ ]
> 1- The first operand of the . operator shall have a qualified or
> unqualified structure or union type or [‘‘pointer to qualified or
> unqualified structure’’ or ‘‘pointer to qualified or unqualified union’’,]
> and the second operand shall name a member of that type.

Let us know how WG14 (the C language committee) reacts. C++ will not add this
feature unless C does first.

Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products

STD-PROPOSALS list run by herb.sutter at gmail.com

Standard Proposals Archives on Google Groups