operator template
std::identity::operator()
- Header
<functional>- Draft
- [func.identity]
- Scope
std::identity- cppreference
- std::identity::operator()
Synopsis
template<class T>
[[nodiscard]] constexpr T&& operator()(T&& t) const noexcept;operator template
<functional>std::identitytemplate<class T>
[[nodiscard]] constexpr T&& operator()(T&& t) const noexcept;