Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Identity Struct Reference

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

#include <acts/blob/sPHENIX/Core/include/Acts/Utilities/Identity.hpp>

Public Member Functions

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

Detailed Description

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

Definition at line 27 of file Identity.hpp.

View newest version in sPHENIX GitHub at line 27 of file Identity.hpp

Member Function Documentation

template<typename T >
constexpr auto Acts::Identity::operator() ( T &&  v) const
inline

Definition at line 29 of file Identity.hpp.

View newest version in sPHENIX GitHub at line 29 of file Identity.hpp

References testSigmaEff::v.


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