[cfe-commits] r72481 - in /cfe/trunk: lib/Parse/ParseDeclCXX.cpp lib/Sema/SemaLookup.cpp lib/Sema/SemaTemplateInstantiateDecl.cpp lib/Sema/SemaTemplateInstantiateExpr.cpp test/SemaTemplate/example-dynarray.cpp test/SemaTemplate/instantiate-declref.cpp

Sebastian Redl sebastian.redl at getdesigned.at
Fri May 29 10:32:46 PDT 2009

Douglas Gregor wrote:
> On May 29, 2009, at 9:50 AM, Sebastian Redl wrote:
>> Sebastian Redl wrote:
>>> Douglas Gregor wrote:
>>>> Did you see the FIXMEs? Something's not working with placement new,
>>>> but I haven't looked into it yet to see what's going on.
>>> I'll take a look at it. Good break from going crazy over C++'s biggest
>>> misfeature.
>> Got it. See:
>> http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090525/017732.html
> Ah, okay. Any chance that we could improve the error message, to ask
> that the user include the <new> header when that is the error?
Yes, by recognizing that the overload asked for is precisely one of
those listed in 18.6p1 (i.e. one the <new> header provides) but not one
of those that are implicitly defined.

I'll do that when I need the next break from exception specifications.


More information about the cfe-commits mailing list