Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
PTL::ForwardTupleAsArgs< 0 > Struct Reference

#include <Tuple.hh>

Static Public Member Functions

template<typename Func , typename Head , typename... Tail>
static auto forward (Func &&func, Head &&, Tail &&... tail) -> decltype(std::forward< Func >(func)(std::forward< Tail >(tail)...))
 

Detailed Description

Definition at line 280 of file Tuple.hh.

Member Function Documentation

◆ forward()

template<typename Func , typename Head , typename... Tail>
static auto PTL::ForwardTupleAsArgs< 0 >::forward ( Func &&  func,
Head &&  ,
Tail &&...  tail 
) -> decltype(std::forward<Func>(func)(std::forward<Tail>(tail)...))
inlinestatic

Definition at line 283 of file Tuple.hh.

285 {
286 return std::forward<Func>(func)(std::forward<Tail>(tail)...);
287 }

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