diff options
Diffstat (limited to 'boost/hana/detail/integral_constant.hpp')
-rw-r--r-- | boost/hana/detail/integral_constant.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/boost/hana/detail/integral_constant.hpp b/boost/hana/detail/integral_constant.hpp index 6fa7735164..72a40dacae 100644 --- a/boost/hana/detail/integral_constant.hpp +++ b/boost/hana/detail/integral_constant.hpp @@ -231,7 +231,11 @@ BOOST_HANA_NAMESPACE_BEGIN }; #else template <typename T, T v> +#ifdef BOOST_HANA_WORKAROUND_MSVC_EMPTYBASE + struct __declspec(empty_bases) integral_constant +#else struct integral_constant +#endif : std::integral_constant<T, v> , detail::operators::adl<integral_constant<T, v>> { |