Belle II Software development
Get< I > Struct Template Reference

Functor to get the I part (as of std::get<I>) from an abitrary objects. More...

#include <Functional.h>

Public Member Functions

 operator FunctorTag ()
 Marker function for the isFunctor test.
 
template<class T >
auto operator() (const T &t) const -> decltype(std::get< I >(t))
 Operator getting the I part (as of std::get<I>) of an abitrary object.
 

Detailed Description

template<int I>
struct Belle2::TrackFindingCDC::Get< I >

Functor to get the I part (as of std::get<I>) from an abitrary objects.

Definition at line 275 of file Functional.h.

Member Function Documentation

◆ operator()()

auto operator() ( const T &  t) const -> decltype(std::get<I>(t))
inline

Operator getting the I part (as of std::get<I>) of an abitrary object.

Definition at line 281 of file Functional.h.

282 {
283 using std::get;
284 return get<I>(t);
285 }

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