mpc
Haskell-like feature supports in C++
identity.hpp
Go to the documentation of this file.
1
2#pragma once
3#include <functional> // std::identity
5
6namespace mpc {
7 inline namespace cpo {
11 inline constexpr partial<std::identity> identity{};
12 } // namespace cpo
13} // namespace mpc
constexpr partial< std::identity > identity
Identity mapping.
Definition: identity.hpp:11
Implements a perfect-forwarding call wrapper.
Definition: partial.hpp:63