From d584c7525241e6b5a0275b037989a8917b478e4c Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Tue, 27 Jan 2015 16:30:05 +0000 Subject: [PATCH] Add definitions of ::value members. --- include/boost/type_traits/integral_constant.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/boost/type_traits/integral_constant.hpp b/include/boost/type_traits/integral_constant.hpp index b8e6250..0a160b5 100644 --- a/include/boost/type_traits/integral_constant.hpp +++ b/include/boost/type_traits/integral_constant.hpp @@ -64,6 +64,9 @@ namespace boost{ BOOST_CONSTEXPR operator T() { return val; } }; + template + T const integral_constant::value; + template struct integral_constant { @@ -79,6 +82,9 @@ namespace boost{ BOOST_CONSTEXPR operator bool() { return val; } }; + template + bool const integral_constant::value; + typedef integral_constant true_type; typedef integral_constant false_type;