This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] C++0x static assertions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]