----- Original Message ----- From: "Terje Slettebų" <[EMAIL PROTECTED]>
> > You can just do this as well: > > > > BOOST_STATIC_ASSERT( > > ( boost::is_same<T, bool>::value ) || > > ( boost::is_same<T, int>::value ) || > > ( boost::is_same<T, double>::value ) || > > ( boost::is_same<T, std::string>::value ); > > ) > > > > In other words, just parenthesize the expressions. > > Or even just the macro parameter: > > BOOST_STATIC_ASSERT((\ > boost::is_same<T, bool>::value ||\ > boost::is_same<T, int>::value ||\ > boost::is_same<T, double>::value ||\ > boost::is_same<T, std::string>::value )); Yeah, duh. ;) You don't need the backslashes though. Paul Mensonides _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost