612 B
612 B
[func.identity]
22 General utilities library [utilities]
22.10 Function objects [function.objects]
22.10.12 Class identity [func.identity]
`struct identity { template constexpr T&& operator()(T&& t) const noexcept;
using is_transparent = unspecified; };
template constexpr T&& operator()(T&& t) const noexcept; `
Effects: Equivalent to: return std::forward(t);