LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar::util::identity Struct Reference

A unary functor returning its own argument (any type) More...

#include "StatCollector.h"

Public Member Functions

template<typename T >
constexpr auto operator() (T &&v) const noexcept-> decltype(std::forward< T >(v))
 

Detailed Description

A unary functor returning its own argument (any type)

Definition at line 31 of file StatCollector.h.

Member Function Documentation

template<typename T >
constexpr auto lar::util::identity::operator() ( T &&  v) const -> decltype(std::forward<T>(v))
inlinenoexcept

Definition at line 33 of file StatCollector.h.

34  {
35  return std::forward<T>(v);
36  } // operator()

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