OpenLexocad  27.1
entt::identity Struct Reference

Identity function object (waiting for C++20). More...

#include <entt.hpp>

Public Member Functions

template<class Type >
constexpr Type && operator() (Type &&value) const ENTT_NOEXCEPT
 Returns its argument unchanged. More...
 

Detailed Description

Identity function object (waiting for C++20).

Member Function Documentation

◆ operator()()

template<class Type >
constexpr Type&& entt::identity::operator() ( Type &&  value) const
inline

Returns its argument unchanged.

Template Parameters
TypeType of the argument.
Parameters
valueThe actual argument.
Returns
The submitted value as-is.

The documentation for this struct was generated from the following file: