Concept determining whether the Nullable is constructible with the specified argument.
More...
#include <Common.hpp>
template<typename T, typename Arg>
&& detail::unqualified<T>
&& detail::constructible_from_value<T, Arg&&>
Concept determining whether the Nullable is constructible with the specified argument.
Definition Common.hpp:251
Concept describing a type that can be used as a monad in the pipeline.
Definition Common.hpp:200
Concept determining whether the Nullable is constructible with the specified argument.
- Template Parameters
-
| T | The type to check. |
| Arg | The construction argument type to forward. |
A nullable is considered constructible from value if at least one of the following is true:
- Priority 1: Its gimo::traits specialization has an accessible from_value static function, which takes Arg as argument and returns T.
- Priority 2: It's (possibly explicitly) constructible from Arg.