
30 Jul
2009
30 Jul
'09
5:41 a.m.
You have to delay the evaluation of your T::maxsize by using an external metafunction. template<class T ,bool Enable= boost::introspection::has_static_member_data_maxsize<T>> struct make_size : mpl::size_t<T::maxsize> {}; template<class T> struct make_size<T,false> : mpl::size_t<0> {}; -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35