forked from boostorg/type_traits
Merge pull request #104 from boostorg/travis-os-x-10.1
Travis: Update XCode versions.
This commit is contained in:
6 files changed
+46
-22
No files matched your search
@@ -86,6 +86,13 @@
|
||||
# define BOOST_TT_HAS_ASCCURATE_IS_FUNCTION
|
||||
#endif
|
||||
|
||||
#if defined(_MSVC_LANG) && (_MSVC_LANG >= 201703)
|
||||
# define BOOST_TT_NO_DEDUCED_NOEXCEPT_PARAM
|
||||
#endif
|
||||
#if defined(__APPLE_CC__) && defined(__clang_major__) && (__clang_major__ == 9) && (__clang_minor__ == 0)
|
||||
# define BOOST_TT_NO_DEDUCED_NOEXCEPT_PARAM
|
||||
# define BOOST_TT_NO_NOEXCEPT_SEPARATE_TYPE
|
||||
#endif
|
||||
|
||||
#endif // BOOST_TT_CONFIG_HPP_INCLUDED
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace boost {
|
||||
template <class T>
|
||||
struct is_function : public false_type {};
|
||||
|
||||
#if defined(__cpp_noexcept_function_type) && !defined(_MSC_VER)
|
||||
#if defined(__cpp_noexcept_function_type) && !defined(BOOST_TT_NO_DEDUCED_NOEXCEPT_PARAM)
|
||||
#define BOOST_TT_NOEXCEPT_PARAM , bool NE
|
||||
#define BOOST_TT_NOEXCEPT_DECL noexcept(NE)
|
||||
#else
|
||||
@@ -307,7 +307,7 @@ namespace boost {
|
||||
|
||||
// All over again for msvc with noexcept:
|
||||
|
||||
#if defined(_MSVC_LANG) && (_MSVC_LANG >= 201703)
|
||||
#if defined(BOOST_TT_NO_DEDUCED_NOEXCEPT_PARAM) && !defined(BOOST_TT_NO_NOEXCEPT_SEPARATE_TYPE)
|
||||
|
||||
#undef BOOST_TT_NOEXCEPT_DECL
|
||||
#define BOOST_TT_NOEXCEPT_DECL noexcept
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace boost {
|
||||
template <class T>
|
||||
struct is_member_function_pointer<T const volatile> : public is_member_function_pointer<T> {};
|
||||
|
||||
#if defined(_MSVC_LANG) && (_MSVC_LANG >= 201703)
|
||||
#if defined(BOOST_TT_NO_DEDUCED_NOEXCEPT_PARAM)
|
||||
// MSVC can't handle noexcept(b) as a deduced template parameter
|
||||
// so we will have to write everything out :(
|
||||
#define BOOST_TT_NOEXCEPT_PARAM
|
||||
@@ -350,7 +350,7 @@ namespace boost {
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(_MSVC_LANG) && (_MSVC_LANG >= 201703)
|
||||
#if defined(BOOST_TT_NO_DEDUCED_NOEXCEPT_PARAM) && !defined(BOOST_TT_NO_NOEXCEPT_SEPARATE_TYPE)
|
||||
|
||||
#undef BOOST_TT_NOEXCEPT_DECL
|
||||
#define BOOST_TT_NOEXCEPT_DECL noexcept
|
||||
|
||||
Reference in new issue
Block a user