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

Type constructible from an empty initializer (T{} / T()). More...

#include <StormByte/type_traits/object_semantics.hxx>

Concept definition

template<typename T>
concept StormByte::Type::DefaultConstructible = std::is_default_constructible_v<T>
Type constructible from an empty initializer (T{} / T()).
Definition object_semantics.hxx:155

Detailed Description

Type constructible from an empty initializer (T{} / T()).

Template Parameters
TType to test.
template<Type::DefaultConstructible T>
T create() { return T{}; }