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::Pair Concept Reference

Type with accessible first and second members. More...

#include <StormByte/type_traits/wrappers.hxx>

Concept definition

template<typename T>
concept StormByte::Type::Pair = requires(T t) {
t.first;
t.second;
}
Type with accessible first and second members.
Definition wrappers.hxx:117

Detailed Description

Type with accessible first and second members.

Template Parameters
TType to test.

Broader than std::pair: any struct with those members matches. That is intentional and must stay that way.

template<Type::Pair T>
void process(T pair);