StormByte 2.0.0
C++26 foundation of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte::Type::HasMappedType Concept Reference

StormByte::Type::Container that publishes a nested mapped_type. More...

#include <StormByte/type_traits/containers.hxx>

Concept definition

template<typename C>
requires { typename std::remove_cvref_t<C>::mapped_type; }
Has begin(), end() and value_type, and is not a StormByte::Type::String.
Definition containers.hxx:167
StormByte::Type::Container that publishes a nested mapped_type.
Definition containers.hxx:203

Detailed Description

StormByte::Type::Container that publishes a nested mapped_type.

Template Parameters
CContainer type (cv/ref ignored for the nested lookup).

Typical matches: std::map, std::unordered_map.

template<Type::HasMappedType T>
void process(T container);