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

Value permitted in opaque Safe collections. More...

#include <StormByte/type_traits/safe.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
Recognizes a conditional Safe component after stripping cv and references.
Definition safe.hxx:301
Type that can be move-assigned (operator=(T&&)).
Definition object_semantics.hxx:273
Type that can be move-constructed.
Definition object_semantics.hxx:213
Recognizes a cursor that stores only a Base node pointer.
Definition safe.hxx:400
Value permitted in opaque Safe collections.
Definition safe.hxx:409
Recognizes collection values with Base-controlled lifetime.
Definition safe.hxx:347

Detailed Description

Value permitted in opaque Safe collections.

Template Parameters
TCandidate value. A const value is the same value. References stay rejected.
Note
MaybeSafe values must support default construction, copying, assignment and movement.
A cursor is admitted so a result pair can hold it. It is not a collection element.