Hamish Mackenzie wrote:
> Yes this is a problem. It would be handy to have a way to> check the type so> > void f( const optional< some_big_class > & );> > would become> > template< typename T >> void f( const T & )> {> BOOST_STATIC_ASSERT(> is_optional_version_of< some_big_class, T >::value );> ...> }
Probably overloading using boost::enable_if is a solution in this case.
--
Build your own Expression Template Library with Daixtrose!
Visit http://daixtrose.sourceforge.net/
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost