StormByte C++ Library 0.0.9999
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::Container Concept Reference

Concept to check if a type is a container (excluding strings). More...

#include <type_traits.hxx>

Concept definition

template<typename T>
concept StormByte::Type::Container = is_container<T>::value
Concept to check if a type is a container (excluding strings).
Definition type_traits.hxx:96

Detailed Description

Concept to check if a type is a container (excluding strings).

Template Parameters
TThe type to check.

A type satisfies Container if it has begin(), end(), and a value_type, but excludes string types which are handled separately.

template<Type::Container T>
void process(T container) { ... }