Template Struct is_mapping_concept
Defined in File meta.hpp
Inheritance Relationships
Base Type
public std::false_type
Struct Documentation
-
template<typename T, typename = void>
struct is_mapping_concept : public std::false_type Checks if the type
T
models MappingConcept.Requirements on type
T
for matching the requirements: a. Must be able to construct jwt::string_view from thekey_type
of the map. b. Must be able to construct jwt::string_view from themapped_type
of the map. c. The typeT
must have an access operator i.e. operator[]. d. The typeT
must havebegin
andend
member functions for iteration.NOTE: Requirements
a
andb
means that the concept type can only hold values that are string or constructible to form a string_view (basically C strings and std::string)