This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [C++ PATCH] C++0x static assertions
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: "Doug Gregor" <doug dot gregor at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: 08 Nov 2006 14:25:31 +0100
- Subject: Re: [C++ PATCH] C++0x static assertions
- References: <C65FB780-CA0C-4D86-8979-5B47551F4826@cs.indiana.edu> <m38ximc20b.fsf@zeus.integrable-solutions.net> <24b520d20611071917ybbf8b64u624f81b046082063@mail.gmail.com>
"Doug Gregor" <doug.gregor@gmail.com> writes:
| On 07 Nov 2006 23:42:28 +0100, Gabriel Dos Reis
| <gdr@integrable-solutions.net> wrote:
| > Douglas Gregor <doug.gregor@gmail.com> 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.
-- Gaby