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
4
#include <
mpc/functional/partial.hpp
>
5
6
namespace
mpc {
7
inline
namespace
cpo {
11
inline
constexpr
partial<std::identity>
identity
{};
12
}
// namespace cpo
13
}
// namespace mpc
mpc::cpo::identity
constexpr partial< std::identity > identity
Identity mapping.
Definition:
identity.hpp:11
partial.hpp
mpc::partial
Implements a perfect-forwarding call wrapper.
Definition:
partial.hpp:63
include
mpc
prelude
identity.hpp
Generated by
1.9.2