|
constexpr | box () noexcept(std::is_nothrow_default_constructible< Element >::value) |
|
template<typename E , requires = (std::is_constructible<Element, E>::value && std::is_convertible<E, Element>::value)> |
constexpr | box (E &&e) noexcept(std::is_nothrow_constructible< Element, E >::value) |
|
template<typename E , requires = (std::is_constructible<Element, E>::value && !std::is_convertible<E, Element>::value)> |
constexpr | box (E &&e) noexcept(std::is_nothrow_constructible< Element, E >::value) |
|
Element & | get () &noexcept |
|
constexpr Element const & | get () const &noexcept |
|
Element && | get () &&noexcept |
|