ΒΆtemplate <class T>
inline constexpr __private::SomeMarker<T&&> some(
    T&& t) noexcept

Description

Used to construct an option with a Some(t) value. Calling some() produces a hint to make an option but does not actually construct option. This is to allow constructing an [`Option <T >`]($sus::option::Option) or [`Option <T & >`]($sus::option::Option) correctly.

Declared at: sus/option/option.h:2003

Templates

T

Parameters

T&& t