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

#include <Tuple.hh>

Public Types

using Function = std::function< void(Head)>
 

Static Public Member Functions

template<typename TupleType >
static void apply (const Function &func, const TupleType &t)
 

Detailed Description

template<typename Head>
struct PTL::transform_tuple< Head >

Definition at line 415 of file Tuple.hh.

Member Typedef Documentation

◆ Function

template<typename Head >
using PTL::transform_tuple< Head >::Function = std::function<void(Head)>

Definition at line 417 of file Tuple.hh.

Member Function Documentation

◆ apply()

template<typename Head >
template<typename TupleType >
static void PTL::transform_tuple< Head >::apply ( const Function func,
const TupleType &  t 
)
inlinestatic

Definition at line 419 of file Tuple.hh.

420 {
421 func(std::get<0>(t));
422 }

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