StormByte 3.0.0
C++26 foundation of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Safe::Detail::SafeOptionalResult Concept Reference

Recognizes a monadic result that can report an empty state. More...

#include <StormByte/safe/optional.hxx>

Concept definition

template<class R>
{ result.has_value() } -> Type::ConvertibleTo<bool>;
}
Recognizes a monadic result that can report an empty state.
Definition optional.hxx:77
From is implicitly convertible to To (std::is_convertible).
Definition conversions.hxx:74
Recognized Safe component after stripping cv and references.
Definition safe.hxx:311

Detailed Description

Recognizes a monadic result that can report an empty state.

Template Parameters
RCandidate result.