Identity function object (waiting for C++20).
More...
#include <entt.hpp>
|
template<class Type > |
constexpr Type && | operator() (Type &&value) const ENTT_NOEXCEPT |
| Returns its argument unchanged. More...
|
|
Identity function object (waiting for C++20).
◆ operator()()
template<class Type >
constexpr Type&& entt::identity::operator() |
( |
Type && |
value | ) |
const |
|
inline |
Returns its argument unchanged.
- Template Parameters
-
Type | Type of the argument. |
- Parameters
-
value | The actual argument. |
- Returns
- The submitted value as-is.
The documentation for this struct was generated from the following file: