mpc
Haskell-like feature supports in C++
|
A partial specialization of copyable_box. More...
#include <copyable_box.hpp>
Public Member Functions | |
template<class... Args> requires std::is_constructible_v<T, Args...> | |
constexpr | copyable_box (std::in_place_t, Args &&... args) noexcept(std::is_nothrow_constructible_v< T, Args... >) |
constexpr | copyable_box (const copyable_box &)=default |
constexpr | copyable_box (copyable_box &&)=default |
constexpr copyable_box & | operator= (const copyable_box &)=default |
constexpr copyable_box & | operator= (copyable_box &&)=default |
constexpr copyable_box & | operator= (const copyable_box &other) noexcept |
constexpr copyable_box & | operator= (copyable_box &&other) noexcept |
constexpr const T & | operator* () const &noexcept |
constexpr const T && | operator* () const &&noexcept |
constexpr T & | operator* () &noexcept |
constexpr T && | operator* () &&noexcept |
constexpr const T * | operator-> () const noexcept |
constexpr T * | operator-> () noexcept |
constexpr bool | has_value () const noexcept |
A partial specialization of copyable_box.