This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: C++ PATCH: PR 20599 (1/3)
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.