Use *_t and *_v trait helpers from C++17 STL (#731)
This commit is contained in:
@@ -203,7 +203,7 @@ struct SignatureType<R (T::*)(Params...) const>
|
||||
{ using Type = R (Params...); };
|
||||
|
||||
template <class Lambda>
|
||||
struct SignatureType<Lambda, std::enable_if_t<std::is_class<Lambda>::value>>
|
||||
struct SignatureType<Lambda, std::enable_if_t<std::is_class_v<Lambda>>>
|
||||
{ using Type = typename SignatureType<decltype(&Lambda::operator())>::Type; };
|
||||
|
||||
template <typename Fn>
|
||||
|
||||
Reference in New Issue
Block a user