2
0
mirror of https://github.com/boostorg/log.git synced 2026-01-28 07:12:23 +00:00

Added compilation workarounds for MSVC 2015 CTP6.

This commit is contained in:
Andrey Semashev
2015-03-01 21:22:46 +03:00
parent 7ebfd3b6c4
commit 4751a16536
3 changed files with 13 additions and 4 deletions

View File

@@ -125,6 +125,9 @@ BOOST_LOG_API void code_convert(const char* str1, std::size_t len, std::wstring&
code_convert(str1, str1 + len, str2, std::use_facet< std::codecvt< wchar_t, char, std::mbstate_t > >(loc));
}
// Note: MSVC 2015 (aka VC14) implement char16_t and char32_t types but not codecvt locale facets
#if !defined(BOOST_MSVC)
#if !defined(BOOST_NO_CXX11_CHAR16_T)
//! The function converts one string to the character type of another
@@ -157,6 +160,8 @@ BOOST_LOG_API void code_convert(const char* str1, std::size_t len, std::u32strin
#endif
#endif // !defined(BOOST_MSVC)
} // namespace aux
BOOST_LOG_CLOSE_NAMESPACE // namespace log