Use _v traits variable aliases (C++17 feature)

This commit is contained in:
Mat Sutcliffe
2021-04-17 20:43:42 +01:00
parent 6d232756f4
commit 5d67cd9f68
32 changed files with 67 additions and 67 deletions

View File

@@ -108,7 +108,7 @@ namespace BlackMisc
bool matchesVariant(const CVariant &value) const;
//! True if this map matches the value
template <typename T, typename = std::enable_if_t<!std::is_same<T, CVariant>::value>>
template <typename T, typename = std::enable_if_t<!std::is_same_v<T, CVariant>>>
bool matches(const T &value) const { return matchesVariant(CVariant::from(value)); }
//! Map