This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] C++0x static assertions
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Douglas Gregor <doug dot gregor at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 07 Nov 2006 23:42:28 +0100
- Subject: Re: [C++ PATCH] C++0x static assertions
- References: <C65FB780-CA0C-4D86-8979-5B47551F4826@cs.indiana.edu>
Douglas Gregor <doug.gregor@gmail.com> writes:
| Hello,
|
| Picking off some low-hanging fruit for the C++0x mode...
|
| The attached patch introduces static assertions into the C++ front
| end, as specified in the latest C++0x working draft (N2009). The
| feature is under the control of -std=(c|gnu)++0x. However, the
| uglified "__static_assert" form can always be used, resulting in a
| warning.
could we simplify the ugliness and do without __static_assert, and
plain static_assert?
[...]
| 2006-11-07 Douglas Gregor <doug.gregor@gmail.com>
Don't we need the corresponding pretty-printing?
-- Gaby