forked from boostorg/type_traits
Added new config macro BOOST_HAS_MS_INT64 to detect presence of __int64 data type.
Modified boost source to use BOOST_HAS_LONG_LONG and BOOST_HAS_MS_INT64 where appropriate to do so. [SVN r13714]
This commit is contained in:
1 parent
7977b71a5e
commit
9a6f5dc39f
2 files changed
+10
-10
No files matched your search
@@ -66,7 +66,7 @@ template <> struct is_integral<unsigned long long>
|
||||
{ BOOST_STATIC_CONSTANT(bool, value = true); };
|
||||
template <> struct is_integral<long long>
|
||||
{ BOOST_STATIC_CONSTANT(bool, value = true); };
|
||||
#elif (defined(BOOST_MSVC) && (BOOST_MSVC >= 1100)) || (defined(__BORLANDC__) && (__BORLANDC__ >= 0x520))
|
||||
#elif defined(BOOST_HAS_MS_INT64)
|
||||
template <> struct is_integral<unsigned __int64>
|
||||
{ BOOST_STATIC_CONSTANT(bool, value = true); };
|
||||
template <> struct is_integral<__int64>
|
||||
@@ -126,7 +126,7 @@ template <> struct is_integral<const unsigned long long>
|
||||
{ BOOST_STATIC_CONSTANT(bool, value = true); };
|
||||
template <> struct is_integral<const long long>
|
||||
{ BOOST_STATIC_CONSTANT(bool, value = true); };
|
||||
#elif (defined(BOOST_MSVC) && (BOOST_MSVC >= 1100)) || (defined(__BORLANDC__) && (__BORLANDC__ >= 0x520))
|
||||
#elif defined(BOOST_HAS_MS_INT64)
|
||||
template <> struct is_integral<const unsigned __int64>
|
||||
{ BOOST_STATIC_CONSTANT(bool, value = true); };
|
||||
template <> struct is_integral<const __int64>
|
||||
@@ -171,7 +171,7 @@ template <> struct is_integral<volatile unsigned long long>
|
||||
{ BOOST_STATIC_CONSTANT(bool, value = true); };
|
||||
template <> struct is_integral<volatile long long>
|
||||
{ BOOST_STATIC_CONSTANT(bool, value = true); };
|
||||
#elif (defined(BOOST_MSVC) && (BOOST_MSVC >= 1100)) || (defined(__BORLANDC__) && (__BORLANDC__ >= 0x520))
|
||||
#elif defined(BOOST_HAS_MS_INT64)
|
||||
template <> struct is_integral<volatile unsigned __int64>
|
||||
{ BOOST_STATIC_CONSTANT(bool, value = true); };
|
||||
template <> struct is_integral<volatile __int64>
|
||||
@@ -216,7 +216,7 @@ template <> struct is_integral<const volatile unsigned long long>
|
||||
{ BOOST_STATIC_CONSTANT(bool, value = true); };
|
||||
template <> struct is_integral<const volatile long long>
|
||||
{ BOOST_STATIC_CONSTANT(bool, value = true); };
|
||||
#elif (defined(BOOST_MSVC) && (BOOST_MSVC >= 1100)) || (defined(__BORLANDC__) && (__BORLANDC__ >= 0x520))
|
||||
#elif defined(BOOST_HAS_MS_INT64)
|
||||
template <> struct is_integral<const volatile unsigned __int64>
|
||||
{ BOOST_STATIC_CONSTANT(bool, value = true); };
|
||||
template <> struct is_integral<const volatile __int64>
|
||||
|
||||
Reference in new issue
Block a user