File Identity.hpp

namespace Acts


This file is foreseen for the Geometry module to replace Extent


this is foreseen for the ‘Geometry’ module

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 constexpr auto operator()(T &&v) const