mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +08:00
Use _v traits variable aliases (C++17 feature)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user