mpl eval_if and has_member_data use
Hello,
I have
BOOST_HAS_STATIC_MEMBER_DATA(size_t, maxsize) // from introspection in
sandbox
template <typename T>
class C {
static const size_t s =
boost::mpl::eval_if<
boost::introspection::has_static_member_data_maxsize<T>,
boost::mpl::size_t
You have to delay the evaluation of your T::maxsize by using an external
metafunction.
template
participants (2)
-
Hicham Mouline
-
joel