File Identity.hpp

namespace Acts

Note

This file is foreseen for the Geometry module to replace Extent

struct Identity
#include <Acts/Utilities/Identity.hpp>

Function object which maps a value to itself by perfect forwarding This is a backport of C++20’s std::identity.

Public Functions

template<typename T>
inline auto operator()(T &&v) const