update boost
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
@Copyright Barrett Adair 2016-2017
|
||||
@Copyright Barrett Adair 2016-2021
|
||||
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
|
||||
@@ -57,11 +57,12 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
#endif // #ifndef __clang__
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# ifdef __clang__
|
||||
# define BOOST_CLBL_TRTS_CLANG_C2
|
||||
# else
|
||||
# if !defined( __clang__ )
|
||||
# define BOOST_CLBL_TRTS_MSVC
|
||||
# endif // #ifdef __clang__
|
||||
# if _MSC_VER < 1920
|
||||
# define BOOST_CLBL_TRTS_OLD_MSVC
|
||||
# endif // #if _MSC_VER < 1920
|
||||
# endif // #if !defined( __clang__ )
|
||||
#endif // #ifdef _MSC_VER
|
||||
|
||||
#define BOOST_CLBL_TRTS_IX_SEQ(...) ::std::index_sequence< __VA_ARGS__ >
|
||||
|
||||
@@ -67,7 +67,7 @@ BOOST_CLBL_TRAITS_INLINE_VAR
|
||||
//->
|
||||
constexpr bool is_invocable_v = //see below
|
||||
//<-
|
||||
detail::is_invocable_impl<detail::traits<T>, Args...>::type::value;
|
||||
detail::is_invocable_impl<T, Args...>::type::value;
|
||||
//->
|
||||
|
||||
// only available when variable templates are supported
|
||||
|
||||
@@ -71,7 +71,7 @@ struct return_type : detail::return_type_impl<T> {};
|
||||
|
||||
[heading Input/Output Examples]
|
||||
[table
|
||||
[[`T`] [`return_type_t<T, std::tuple>`]]
|
||||
[[`T`] [`return_type_t<T>`]]
|
||||
[[`void()`] [`void`]]
|
||||
[[`float(*)()`] [`float`]]
|
||||
[[`const char*(&)()`] [`const char *`]]
|
||||
|
||||
Reference in New Issue
Block a user