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

Exactly std::optional<U> for some U. More...

#include <StormByte/type_traits/wrappers.hxx>

Concept definition

template<typename T>
requires { typename T::value_type; } &&
std::same_as<T, std::optional<typename T::value_type>>
Exactly std::optional<U> for some U.
Definition wrappers.hxx:133

Detailed Description

Exactly std::optional<U> for some U.

Template Parameters
TType to test (no decay).

A type that merely has value_type does not match.

template<Type::Optional T>
void process(T opt);