Qx v0.5.8
Qt Extensions Library
Loading...
Searching...
No Matches
QxJson::json_keyable Concept Reference

Specifies that a type has a known method for creating a corresponding key. More...

Concept definition

template<typename Key, class Value>
concept QxJson::json_keyable = requires(const Value& v) {
{ keygen<Key, Value>(v) } -> std::same_as<Key>;
}
Specifies that a type has a known method for creating a corresponding key.
Definition qx-json.h:310

Detailed Description

Satisfied if a keygen() specialization exists for Key and Value that creates a key from an instance of Value.