FreeBSD Manual Pages
std::experi...ke_optional(3) C++ Standard Libary std::experi...ke_optional(3) NAME std::experimental::make_optional - std::experimental::make_optional Synopsis Defined in header <experimental/optional> template< class T > constexpr optional<typename std::decay<T>::type> (library fundamen- tals TS) make_optional( T&& value ); Creates an optional object from value. Effectively calls op- tional<typename std::decay<T>::type>(std::forward<T>(value)) Parameters value - the value to construct optional object with Return value An optional object with value as the contained value. Exceptions Throws any exception thrown by the constructor of T. See also constructor constructs the optional object (public member function) http://cppreference.com 2022.07.31 std::experi...ke_optional(3)
NAME | Synopsis | Parameters | Return value | Exceptions | See also
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::experimental::make_optional&sektion=3&manpath=FreeBSD+Ports+15.0>
