[func.identity] (original) (raw)
22 General utilities library [utilities]
22.10 Function objects [function.objects]
22.10.12 Class identity [func.identity]
struct identity { template<class T> constexpr T&& operator()(T&& t) const noexcept;using is_transparent = _unspecified_;};template<class T> constexpr T&& operator()(T&& t) const noexcept;
Effects: Equivalent to: return std​::​forward<T>(t);