Rani Sharoni wrote: > > In the same fashion - I think that if type is not cv void, not reference and > not convertible to bool (via standard conversion) then it's class type.
Hm, could you show an implementation? I think that the "convertible to bool" might be a problem for classes with operator bool(), also I'm not sure how you would detect: is_class< int( int, int ) >::value correctly with your approach... > It might be useful implementation for compliers on which the SFIAE technique > to detect class type doesn't work. What is SFIAE? Is it the template< typename > no_type test( ... ); template< typename T > yes_type test( void (T::*)() ); stuff from Paul Mensonides? Regards, Daniel -- Daniel Frey aixigo AG - financial training, research and technology Schloß-Rahe-Straße 15, 52072 Aachen, Germany fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99 eMail: [EMAIL PROTECTED], web: http://www.aixigo.de _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost