C++ PATCH: PR 20599 (1/3)

Gennaro Prota gennaro_prota@yahoo.com
Sun Sep 17 01:55:00 GMT 2006


On Fri, 15 Sep 2006 21:23:06 +0200, Paolo Carlini <pcarlini@suse.de>
wrote:

>> Granted, there's a bit of low-hanging fruit we could pick, just to get
>> the gears turning. static_assert comes to mind...
>That would be great.

Hi guys,

yes, I'm all for this too (BTW, I've implemented static_assert as a
macro in a project of mine, adopting the form in the standard draft,
with a string literal as second argument. If anyone knows whether it
is intended to accept a wide string literal... I'd be glad to know
:-)). As to variadic templates it would be great for me if their
support were detectable at compile time (I mean not be simply checking
the compiler version). FWIW, I don't mean to use conditional
compilation, just automatically selecting the right include directory
(source code for gcc, which would use variadic templates, would simply
be in a different dir).

--
Genny.



More information about the Libstdc++ mailing list