Add is_clock_v

This commit is contained in:
Howard Hinnant
2021-04-15 11:41:20 -04:00
parent ae017078c9
commit ac6ca2a095

View File

@@ -1004,6 +1004,8 @@ struct is_clock<T, std::void_t<decltype(T::now()), typename T::rep, typename T::
: std::true_type
{};
template<class T> inline constexpr bool is_clock_v = is_clock<T>::value;
#endif // HAS_VOID_T
//----------------+