This is the mail archive of the
mailing list for the GCC project.
Re: [C++ PATCH] C++0x static assertions
"Doug Gregor" <firstname.lastname@example.org> writes:
| On 07 Nov 2006 23:42:28 +0100, Gabriel Dos Reis
| <email@example.com> wrote:
| > Douglas Gregor <firstname.lastname@example.org> writes:
| > could we simplify the ugliness and do without __static_assert, and
| > plain static_assert?
sorry, the above should read "use plain static_assert".
| If we don't care to use static_assert inside libstdc++ (or we want to
| fall back to library-only solutions when we're not in C++0x mode),
| yes, we can simplify. I'm CC'ing libstdc++; if anyone wants to use
| static_assert in the library, they should speak up :)
I like simple and elegant codes. There is no fundamental reason why
the library should not be elegant.