5#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_FUNCTIONAL_IDENTITY_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_FUNCTIONAL_IDENTITY_HPP_
12#include "arene/base/stdlib_choice/forward.hpp"
29 constexpr auto operator()(T&& value)
const noexcept -> T&& {
30 return std::forward<T>(value);
34 using is_transparent =
void;
A backport of the C++20 std::identity function object. It returns its input unchanged.
Definition identity.hpp:21
constexpr auto operator()(T &&value) const noexcept -> T &&
Returns the input value unchanged as if forwarded via std::forward.
Definition identity.hpp:29
Definition array_exceptions_disabled.cpp:11
Copyright 2026, Toyota Motor Corporation.
Definition array_exceptions_disabled.cpp:10