Re: [cxx-abi-dev] C++0x: Mangling for variadic templates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cxx-abi-dev] C++0x: Mangling for variadic templates



On 7/2/07, Daveed Vandevoorde <daveed@xxxxxxx> wrote:
>  <type> ::= Dp <type>  # pack expansion of (C++0x)
>  <template-arg> ::= sp <expression>            # pack expansion of
> (C++0x)


I'm curious why you chose those particular codes?  I'm guessing there
is a mnemonic at play (p = pack?), but I'm not sure which it is.

Yes, "p=pack". "s" seemed to be used elsewhere in <expression> for
various operators, and I didn't want to take another single-letter
code. 'D' was just convenience, and again, I'm getting nervous about
single-character codes, so I decided to turn 'D' into a prefix that we
can use for more types later on.

 - Doug