[cxx-reflection] PATCH to decltype: Go through semantics analysis

Nathan Sidwell nathan@codesourcery.com
Thu Jun 19 16:47:00 GMT 2003


Gabriel Dos Reis wrote:
> Nathan Sidwell <nathan@codesourcery.com> writes:

> | I suggest an extensible scheme
> | X <digit1> <digit2> <sourcename> <type>...[n1] <expr>...[n2]
>                       ^^^^^^^^^^^^
> 
> what is this for?
same as vendor operators
	  ::= v <digit> <source-name>	# vendor extended operator

Vendors who define builtin extended operators (e.g. __alignof) shall encode
them as a 'v' prefix followed by the operand count as a single decimal digit,
and the name in <length,ID> form.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
          The voices in my head said this was stupid too
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the Gcc-patches mailing list