mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 23:06:10 +01:00
Use _t form of traits
This commit is contained in:
parent
c2daf468bb
commit
89e857349b
@ -60,7 +60,7 @@ namespace Matchers {
|
||||
template<typename T>
|
||||
using is_generic_matcher = std::is_base_of<
|
||||
Catch::Matchers::MatcherGenericBase,
|
||||
typename std::remove_cv<typename std::remove_reference<T>::type>::type
|
||||
std::remove_cv_t<std::remove_reference_t<T>>
|
||||
>;
|
||||
|
||||
template<typename... Ts>
|
||||
@ -69,7 +69,7 @@ namespace Matchers {
|
||||
template<typename T>
|
||||
using is_matcher = std::is_base_of<
|
||||
Catch::Matchers::MatcherUntypedBase,
|
||||
typename std::remove_cv<typename std::remove_reference<T>::type>::type
|
||||
std::remove_cv_t<std::remove_reference_t<T>>
|
||||
>;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user