mirror of
https://github.com/boostorg/charconv.git
synced 2026-02-08 22:52:27 +00:00
Replace _MSC_VER with BOOST_MSVC
This commit is contained in:
@@ -484,7 +484,7 @@ using signed_decimal_fp = decimal_fp<UInt, true, false>;
|
||||
// Computed cache entries.
|
||||
////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if !(defined(_MSC_VER) && _MSC_VER == 1900)
|
||||
#if BOOST_MSVC != 1900
|
||||
template <bool b>
|
||||
struct cache_holder_ieee754_binary32_impl
|
||||
#else
|
||||
@@ -518,7 +518,7 @@ struct cache_holder_ieee754_binary32
|
||||
0xb35dbf821ae4f38c, 0xe0352f62a19e306f};
|
||||
};
|
||||
|
||||
#if defined(BOOST_NO_CXX17_INLINE_VARIABLES) && !(defined(_MSC_VER) && _MSC_VER == 1900)
|
||||
#if defined(BOOST_NO_CXX17_INLINE_VARIABLES) && BOOST_MSVC != 1900
|
||||
|
||||
template <bool b> constexpr int cache_holder_ieee754_binary32_impl<b>::cache_bits;
|
||||
template <bool b> constexpr int cache_holder_ieee754_binary32_impl<b>::min_k;
|
||||
@@ -527,11 +527,11 @@ template <bool b> constexpr typename cache_holder_ieee754_binary32_impl<b>::cach
|
||||
|
||||
#endif
|
||||
|
||||
#if !(defined(_MSC_VER) && _MSC_VER == 1900)
|
||||
#if BOOST_MSVC != 1900
|
||||
using cache_holder_ieee754_binary32 = cache_holder_ieee754_binary32_impl<true>;
|
||||
#endif
|
||||
|
||||
#if !(defined(_MSC_VER) && _MSC_VER == 1900)
|
||||
#if BOOST_MSVC != 1900
|
||||
template <bool b>
|
||||
struct cache_holder_ieee754_binary64_impl
|
||||
#else
|
||||
@@ -855,7 +855,7 @@ struct cache_holder_ieee754_binary64
|
||||
{0xf70867153aa2db38, 0xb8cbee4fc66d1ea8}};
|
||||
};
|
||||
|
||||
#if defined(BOOST_NO_CXX17_INLINE_VARIABLES) && !(defined(_MSC_VER) && _MSC_VER == 1900)
|
||||
#if defined(BOOST_NO_CXX17_INLINE_VARIABLES) && BOOST_MSVC != 1900
|
||||
|
||||
template <bool b> constexpr int cache_holder_ieee754_binary64_impl<b>::cache_bits;
|
||||
template <bool b> constexpr int cache_holder_ieee754_binary64_impl<b>::min_k;
|
||||
@@ -864,7 +864,7 @@ template <bool b> constexpr typename cache_holder_ieee754_binary64_impl<b>::cach
|
||||
|
||||
#endif
|
||||
|
||||
#if !(defined(_MSC_VER) && _MSC_VER == 1900)
|
||||
#if BOOST_MSVC != 1900
|
||||
using cache_holder_ieee754_binary64 = cache_holder_ieee754_binary64_impl<true>;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user