Template Struct is_mapping_concept

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 the key_type of the map. b. Must be able to construct jwt::string_view from the mapped_type of the map. c. The type T must have an access operator i.e. operator[]. d. The type T must have begin and end member functions for iteration.

NOTE: Requirements a and b 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)