StormByte 3.0.0
C++26 foundation of the StormByte suite
Loading...
Searching...
No Matches
containers.hxx File Reference
#include <StormByte/type_traits/relations.hxx>
#include <array>
#include <concepts>
#include <string>
#include <tuple>
#include <type_traits>
#include <utility>
Include dependency graph for containers.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  StormByte
 Root namespace of the StormByte suite.
namespace  StormByte::Safe
 Owned values that cross a DLL without the caller's CRT.
namespace  Type
 Octet count. Defined in byte_size.hxx. Forwarded so Type::Numeral can name it.
namespace  StormByte::Type
 Named concepts and small type utilities used across the suite.
namespace  StormByte::Type::Detail
 Private helpers for Safe classification.

Concepts

concept  StormByte::Type::String
 Text string types that are not generic containers.
concept  StormByte::Type::Array
 std::array<U, N> after stripping cv/ref.
concept  StormByte::Type::Container
 Has begin(), end() and value_type, and is not a StormByte::Type::String.
concept  StormByte::Type::HasKeyType
 StormByte::Type::Container that publishes a nested key_type.
concept  StormByte::Type::HasMappedType
 StormByte::Type::Container that publishes a nested mapped_type.
concept  StormByte::Type::Sized
 StormByte::Type::Container that publishes size().
concept  StormByte::Type::HasPushBack
 StormByte::Type::Container that accepts push_back of a value_type.
concept  StormByte::Type::HasPushFront
 StormByte::Type::Container that accepts push_front of a value_type.
concept  StormByte::Type::HasInsert
 Associative StormByte::Type::Container that accepts insert of a value_type.
concept  StormByte::Type::HasSubscript
 StormByte::Type::Container that supports operator[] with key/index U.

Variables

template<typename T>
constexpr bool StormByte::Type::Detail::ArrayV = false
 Primary: T is not std::array.
template<typename U, std::size_t N>
constexpr bool StormByte::Type::Detail::ArrayV< std::array< U, N > > = true
 Partial: exact std::array<U, N>.