From a1d56c0c8b8b1cc3732c2733a20475d1ab9b68f7 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Tue, 6 Jan 2015 22:29:31 +0100 Subject: [PATCH] Add support for BOOST_NO_INTRINSIC_WCHAR_T This fixes a compile error in lexical_cast's lexical_cast_typedefed_wchar_test_runtime regression test with MSVC. --- include/boost/move/detail/type_traits.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/move/detail/type_traits.hpp b/include/boost/move/detail/type_traits.hpp index 69bcd31..d1b616c 100644 --- a/include/boost/move/detail/type_traits.hpp +++ b/include/boost/move/detail/type_traits.hpp @@ -400,7 +400,9 @@ template<> struct is_integral_cv< char16_t>{ static const bool #ifndef BOOST_NO_CXX11_CHAR32_T template<> struct is_integral_cv< char32_t>{ static const bool value = true; }; #endif +#ifndef BOOST_NO_INTRINSIC_WCHAR_T template<> struct is_integral_cv< wchar_t>{ static const bool value = true; }; +#endif template<> struct is_integral_cv< short>{ static const bool value = true; }; template<> struct is_integral_cv< unsigned short>{ static const bool value = true; }; template<> struct is_integral_cv< int>{ static const bool value = true; };