mirror of
https://github.com/boostorg/core.git
synced 2025-07-30 04:47:24 +02:00
Correct spelling of detail macro
This commit is contained in:
@ -20,14 +20,14 @@ Distributed under the Boost Software License, Version 1.0.
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(BOOST_GCC_VERSION) && (BOOST_GCC_VERSION >= 40300)
|
#if defined(BOOST_GCC_VERSION) && (BOOST_GCC_VERSION >= 40300)
|
||||||
#define BOOST_DETAIL_ALLOC_HAS_IS_EMTPY
|
#define BOOST_DETAIL_ALLOC_HAS_IS_EMPTY
|
||||||
#elif defined(BOOST_INTEL) && defined(_MSC_VER) && (_MSC_VER >= 1500)
|
#elif defined(BOOST_INTEL) && defined(_MSC_VER) && (_MSC_VER >= 1500)
|
||||||
#define BOOST_DETAIL_ALLOC_HAS_IS_EMTPY
|
#define BOOST_DETAIL_ALLOC_HAS_IS_EMPTY
|
||||||
#elif defined(BOOST_MSVC) && (BOOST_MSVC >= 1400)
|
#elif defined(BOOST_MSVC) && (BOOST_MSVC >= 1400)
|
||||||
#define BOOST_DETAIL_ALLOC_HAS_IS_EMTPY
|
#define BOOST_DETAIL_ALLOC_HAS_IS_EMPTY
|
||||||
#elif defined(BOOST_CLANG) && !defined(__CUDACC__)
|
#elif defined(BOOST_CLANG) && !defined(__CUDACC__)
|
||||||
#if __has_feature(is_empty)
|
#if __has_feature(is_empty)
|
||||||
#define BOOST_DETAIL_ALLOC_HAS_IS_EMTPY
|
#define BOOST_DETAIL_ALLOC_HAS_IS_EMPTY
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -329,7 +329,7 @@ template<class A, class = void>
|
|||||||
struct alloc_equal {
|
struct alloc_equal {
|
||||||
typedef typename std::is_empty<A>::type type;
|
typedef typename std::is_empty<A>::type type;
|
||||||
};
|
};
|
||||||
#elif defined(BOOST_DETAIL_ALLOC_HAS_IS_EMTPY)
|
#elif defined(BOOST_DETAIL_ALLOC_HAS_IS_EMPTY)
|
||||||
template<class A, class = void>
|
template<class A, class = void>
|
||||||
struct alloc_equal {
|
struct alloc_equal {
|
||||||
typedef alloc_bool<__is_empty(A)> type;
|
typedef alloc_bool<__is_empty(A)> type;
|
||||||
|
Reference in New Issue
Block a user