template<class Set, class T>
struct has_key {
- static const long size = sizeof(Set::lookup((wrap<T>*)0));
- static const bool value = (size == sizeof(set_yes));
+ BOOST_STATIC_CONSTEXPR long size = sizeof(Set::lookup((wrap<T>*)0));
+ BOOST_STATIC_CONSTEXPR bool value = (size == sizeof(set_yes));
};
template<int N>
dimensions
>::type matrix;
typedef typename make_square_and_invert<matrix>::type type;
- static const long extra = (type::size::value) - (T::size::value);
+ BOOST_STATIC_CONSTEXPR long extra = (type::size::value) - (T::size::value);
};
// multiply_add_units computes M x V
typename test::base_dimension_type
>
> type;
- static const bool value = (type::value);
+ BOOST_STATIC_CONSTEXPR bool value = (type::value);
};
};
typename test::base_dimension_type
>
>::type type;
- static const bool value = type::value;
+ BOOST_STATIC_CONSTEXPR bool value = type::value;
};
template<bool>