Public Member Functions | |
template<typename E > | |
constexpr | explicit (!convertible_to< E, Element >) box(E &&e) noexcept(std::is_nothrow_constructible< Element, E >::value) |
constexpr Element && | get () &&noexcept |
constexpr Element & | get () &noexcept |
constexpr Element const && | get () const &&noexcept |
constexpr Element const & | get () const &noexcept |
|
constexprnoexcept |
(!same_as<box, detail::decay_t<E>>) && constructible_from<Element, E>