StormByte C++ Library 1.2.0
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
Loading...
Searching...
No Matches
StormByte::Type::HasKeyType Concept Reference

Container that publishes a nested key_type. More...

#include <StormByte/type_traits/containers.hxx>

Concept definition

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

Detailed Description

Container that publishes a nested key_type.

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

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

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