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

Has begin(), end() and value_type, and is not a StormByte::Type::String. More...

#include <StormByte/type_traits/containers.hxx>

Concept definition

template<typename T>
requires(T t) {
t.begin();
t.end();
typename T::value_type;
Has begin(), end() and value_type, and is not a StormByte::Type::String.
Definition containers.hxx:167
Text string types that are not generic containers.
Definition containers.hxx:101

Detailed Description

Has begin(), end() and value_type, and is not a StormByte::Type::String.

Template Parameters
TType to test (cv/ref as written; strings use std::decay_t).

Strings are excluded so serialization / pretty-print do not treat them as generic sequences of code units.

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