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

Default-constructible, copyable and movable. More...

#include <StormByte/type_traits/object_semantics.hxx>

Concept definition

template<typename T>
Both StormByte::Type::CopyConstructible and StormByte::Type::CopyAssignable.
Definition object_semantics.hxx:304
Type constructible from an empty initializer (T{} / T()).
Definition object_semantics.hxx:156
Both StormByte::Type::MoveConstructible and StormByte::Type::MoveAssignable.
Definition object_semantics.hxx:316
Default-constructible, copyable and movable.
Definition object_semantics.hxx:404

Detailed Description

Default-constructible, copyable and movable.

Template Parameters
TType to test.

Not std::semiregular: that also requires std::swappable. Swap stays a separate contract.

template<Type::Semiregular T>
T make();