2
0
mirror of https://github.com/boostorg/context.git synced 2026-01-30 19:52:17 +00:00

std::invoke() is already checked by Boost defect macro

This commit is contained in:
Oliver Kowalke
2016-12-11 14:50:37 +01:00
parent 8589a5613c
commit 5df4efe146

View File

@@ -23,9 +23,6 @@ namespace boost {
namespace context {
namespace detail {
#if _MSC_VER > 1800
using std::invoke;
#else
template< typename Fn, typename ... Args >
typename std::enable_if<
std::is_member_pointer< typename std::decay< Fn >::type >::value,
@@ -43,7 +40,6 @@ typename std::enable_if<
invoke( Fn && fn, Args && ... args) {
return std::forward< Fn >( fn)( std::forward< Args >( args) ... );
}
#endif
}}}