Struct Acts::Identity

struct Identity

Function object which maps a value to itself by perfect forwarding This is a backport of C++20’s std::identity.

Public Functions

template<typename T>
inline auto operator()(T &&v) const