> -----Original Message----- > From: Travis Vitek [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 11, 2008 1:08 PM > To: dev@stdcxx.apache.org > Subject: RE: static_assert config check > > > ... > > > > I've written an errily similar test already (pasted below) >
I like your test better except for two things. 1. Need a static assert at file scope similar to the one in main(). 2. Change main() to foo(). We don't need (nor want) to run the a program; just compile the source file (which is when static_assert's are supposed to fire). Brad.