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

#include <Tuple.hh>

Static Public Member Functions

static std::tuple get (const std::tuple<> &)
 
template<typename... SubArgs>
static std::tuple< SubArgs... > get (const std::tuple< Args... > &t)
 

Detailed Description

template<typename... Args>
struct PTL::tuple_subset< Args >

Definition at line 372 of file Tuple.hh.

Member Function Documentation

◆ get() [1/2]

template<typename... Args>
template<typename... SubArgs>
static std::tuple< SubArgs... > PTL::tuple_subset< Args >::get ( const std::tuple< Args... > &  t)
inlinestatic

Definition at line 377 of file Tuple.hh.

378 {
379 return std::tuple<SubArgs...>{ std::get<SubArgs>(t)... };
380 }

◆ get() [2/2]

template<typename... Args>
static std::tuple PTL::tuple_subset< Args >::get ( const std::tuple<> &  )
inlinestatic

Definition at line 374 of file Tuple.hh.

374{ return std::tuple<>{}; }

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