Add definitions of ::value members.

This commit is contained in:
jzmaddock
2015-01-27 16:30:05 +00:00
parent adf29f0d3f
commit d584c75252

View File

@ -64,6 +64,9 @@ namespace boost{
BOOST_CONSTEXPR operator T() { return val; }
};
template <class T, T val>
T const integral_constant<T, val>::value;
template <bool val>
struct integral_constant<bool, val>
{
@ -79,6 +82,9 @@ namespace boost{
BOOST_CONSTEXPR operator bool() { return val; }
};
template <bool val>
bool const integral_constant<bool, val>::value;
typedef integral_constant<bool, true> true_type;
typedef integral_constant<bool, false> false_type;