This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [cxx-reflection] PATCH to decltype: Go through semantics analysis
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