mirror of
https://github.com/boostorg/concept_check.git
synced 2025-07-30 04:27:33 +02:00
Second attempt at fixing usage of 64-bit integer type
[SVN r39363]
This commit is contained in:
@ -81,12 +81,13 @@ namespace boost
|
|||||||
template <> struct Integer<unsigned int> {};
|
template <> struct Integer<unsigned int> {};
|
||||||
template <> struct Integer<long> {};
|
template <> struct Integer<long> {};
|
||||||
template <> struct Integer<unsigned long> {};
|
template <> struct Integer<unsigned long> {};
|
||||||
// etc.
|
# if defined(BOOST_HAS_LONG_LONG)
|
||||||
|
template <> struct Integer< ::boost::long_long_type> {};
|
||||||
#ifdef _WIN64
|
template <> struct Integer< ::boost::ulong_long_type> {};
|
||||||
|
# elif defined(BOOST_HAS_MS_INT64)
|
||||||
template <> struct Integer<__int64> {};
|
template <> struct Integer<__int64> {};
|
||||||
template <> struct Integer<unsigned __int64> {};
|
template <> struct Integer<unsigned __int64> {};
|
||||||
#endif
|
# endif
|
||||||
|
|
||||||
BOOST_concept(SignedInteger,(T)) {
|
BOOST_concept(SignedInteger,(T)) {
|
||||||
#if BOOST_WORKAROUND(__GNUC__, <= 3)
|
#if BOOST_WORKAROUND(__GNUC__, <= 3)
|
||||||
@ -104,11 +105,9 @@ namespace boost
|
|||||||
template <> struct SignedInteger<long> {};
|
template <> struct SignedInteger<long> {};
|
||||||
# if defined(BOOST_HAS_LONG_LONG)
|
# if defined(BOOST_HAS_LONG_LONG)
|
||||||
template <> struct SignedInteger< ::boost::long_long_type> {};
|
template <> struct SignedInteger< ::boost::long_long_type> {};
|
||||||
// etc.
|
# elif defined(BOOST_HAS_MS_INT64)
|
||||||
#endif
|
|
||||||
#ifdef _WIN64
|
|
||||||
template <> struct SignedInteger<__int64> {};
|
template <> struct SignedInteger<__int64> {};
|
||||||
#endif
|
# endif
|
||||||
|
|
||||||
BOOST_concept(UnsignedInteger,(T)) {
|
BOOST_concept(UnsignedInteger,(T)) {
|
||||||
#if BOOST_WORKAROUND(__GNUC__, <= 3)
|
#if BOOST_WORKAROUND(__GNUC__, <= 3)
|
||||||
@ -127,13 +126,9 @@ namespace boost
|
|||||||
template <> struct UnsignedInteger<unsigned long> {};
|
template <> struct UnsignedInteger<unsigned long> {};
|
||||||
# if defined(BOOST_HAS_LONG_LONG)
|
# if defined(BOOST_HAS_LONG_LONG)
|
||||||
template <> struct UnsignedInteger< ::boost::ulong_long_type> {};
|
template <> struct UnsignedInteger< ::boost::ulong_long_type> {};
|
||||||
// etc.
|
# elif defined(BOOST_HAS_MS_INT64)
|
||||||
#endif
|
|
||||||
#ifdef _WIN64
|
|
||||||
template <> struct UnsignedInteger<unsigned __int64> {};
|
template <> struct UnsignedInteger<unsigned __int64> {};
|
||||||
#endif
|
# endif
|
||||||
|
|
||||||
// etc.
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
// Basic Concepts
|
// Basic Concepts
|
||||||
|
Reference in New Issue
Block a user