On Wed, Nov 14, 2012 at 2:32 AM, Evgeny Eltsin <[email protected]> wrote:
> Hi,
>
> This patch adds mangling of expression template arguments of pointer and
> reference types.
>
> I had to add a separate test for the case when template argument of pointer
> type is instantiated with 0/NULL/nullptr, as Clang only accepts that in
> C++11 mode (otherwise, it complains that 'non-type template argument does
> not refer to any declaration' - not sure if it is a bug or not, but
> implementation looks like that is intentional).

It's intentional; support for nullptr arguments to templates is new in C++11.

(I didn't look at the patch.)

-Eli
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to