diff --git a/include/boost/type_traits/detail/config.hpp b/include/boost/type_traits/detail/config.hpp index b10bce2..679ad08 100644 --- a/include/boost/type_traits/detail/config.hpp +++ b/include/boost/type_traits/detail/config.hpp @@ -83,7 +83,7 @@ // #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !BOOST_WORKAROUND(BOOST_GCC, < 40805)\ && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) -# define BOOST_TT_HAS_ASCCURATE_IS_FUNCTION +# define BOOST_TT_HAS_ACCURATE_IS_FUNCTION #endif #if defined(_MSVC_LANG) && (_MSVC_LANG >= 201703) diff --git a/include/boost/type_traits/is_function.hpp b/include/boost/type_traits/is_function.hpp index 8556235..1518f7b 100644 --- a/include/boost/type_traits/is_function.hpp +++ b/include/boost/type_traits/is_function.hpp @@ -14,7 +14,7 @@ #include #include -#ifdef BOOST_TT_HAS_ASCCURATE_IS_FUNCTION +#ifdef BOOST_TT_HAS_ACCURATE_IS_FUNCTION #include diff --git a/include/boost/type_traits/is_member_function_pointer.hpp b/include/boost/type_traits/is_member_function_pointer.hpp index 9b5dbbf..dccd440 100644 --- a/include/boost/type_traits/is_member_function_pointer.hpp +++ b/include/boost/type_traits/is_member_function_pointer.hpp @@ -13,7 +13,7 @@ #include -#ifdef BOOST_TT_HAS_ASCCURATE_IS_FUNCTION +#ifdef BOOST_TT_HAS_ACCURATE_IS_FUNCTION #include diff --git a/test/is_function_test.cpp b/test/is_function_test.cpp index 952ec6a..dc69071 100644 --- a/test/is_function_test.cpp +++ b/test/is_function_test.cpp @@ -16,7 +16,7 @@ #pragma GCC diagnostic ignored "-Wnoexcept-type" #endif -#ifdef BOOST_TT_HAS_ASCCURATE_IS_FUNCTION +#ifdef BOOST_TT_HAS_ACCURATE_IS_FUNCTION struct X { @@ -138,7 +138,7 @@ BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function::value, true); #endif -#ifdef BOOST_TT_HAS_ASCCURATE_IS_FUNCTION +#ifdef BOOST_TT_HAS_ACCURATE_IS_FUNCTION test_cv_qual(&X::f); test_cv_qual(&X::fc); diff --git a/test/is_member_func_test.cpp b/test/is_member_func_test.cpp index 7efa269..0095d6e 100644 --- a/test/is_member_func_test.cpp +++ b/test/is_member_func_test.cpp @@ -16,7 +16,7 @@ #pragma GCC diagnostic ignored "-Wnoexcept-type" #endif -#ifdef BOOST_TT_HAS_ASCCURATE_IS_FUNCTION +#ifdef BOOST_TT_HAS_ACCURATE_IS_FUNCTION struct tricky_members { BOOST_TT_PROC void noexcept_proc()noexcept @@ -85,7 +85,7 @@ BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_member_function_pointer::valu #endif -#ifdef BOOST_TT_HAS_ASCCURATE_IS_FUNCTION +#ifdef BOOST_TT_HAS_ACCURATE_IS_FUNCTION test_tricky(&tricky_members::const_ref_proc); #ifndef BOOST_TT_NO_NOEXCEPT_SEPARATE_TYPE test_tricky(&tricky_members::noexcept_proc);