17 template <
class T,
class... Args>
19 return make::from<T>(std::forward<Args>(args)...);
35 template <
class T,
class... Args>
37 return optional<T>(std::forward<Args>(args)...);
45 return emptyOptional<T>();
Global namespace of the SCL.
A class that allows the use of optional types (might be there)
constexpr None none
A constant global variable of type None.
static constexpr Optional fromPointer(const T *ptr)
Construct an optional from a pointer.