incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lemings" <Eric.Lemi...@roguewave.com>
Subject RE: static_assert config check
Date Wed, 11 Jun 2008 19:16:29 GMT
 

> -----Original Message-----
> From: Travis Vitek [mailto:Travis.Vitek@roguewave.com] 
> 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.

Mime
View raw message