newtype Identity a = Identity { runIdentity :: a }
More...
#include <identity.hpp>
|
template<class U = T>
requires std::constructible_from<T, U&&> |
constexpr | Identity (U &&u) noexcept(std::is_nothrow_constructible_v< T, U && >) |
|
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 |
|
template<copy_constructible_object T>
struct mpc::Identity< T >
newtype Identity a = Identity { runIdentity :: a }
The documentation for this struct was generated from the following file: