Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
Globals.hh File Reference
#include <algorithm>
#include "PTL/Types.hh"
#include "PTL/Utility.hh"
#include <initializer_list>
#include <tuple>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

struct  PTL::mpl::impl::Index_tuple< Indexes >
 
struct  PTL::mpl::impl::Itup_cat< Index_tuple< Ind1... >, Index_tuple< Ind2... > >
 
struct  PTL::mpl::impl::Build_index_tuple< NumT >
 
struct  PTL::mpl::impl::Build_index_tuple< 1 >
 
struct  PTL::mpl::impl::Build_index_tuple< 0 >
 
struct  PTL::mpl::impl::integer_sequence< Tp, Idx >
 Class template integer_sequence. More...
 
struct  PTL::mpl::impl::Make_integer_sequence< Tp, NumT, Index_tuple< Idx... > >
 

Namespaces

namespace  PTL
 
namespace  PTL::mpl
 
namespace  PTL::mpl::impl
 
namespace  PTL::thread_pool
 
namespace  PTL::thread_pool::state
 

Macros

#define FALSE   0
 
#define TRUE   1
 
#define PTL_FOLD_EXPRESSION(...)
 

Typedefs

template<typename T >
using PTL::decay_t = typename std::decay< T >::type
 
template<bool B, typename T = void>
using PTL::enable_if_t = typename std::enable_if< B, T >::type
 
template<typename Tp , Tp NumT>
using PTL::mpl::impl::make_integer_sequence = typename Make_integer_sequence< Tp, NumT >::__type
 Alias template make_integer_sequence.
 
template<size_t... Idx>
using PTL::mpl::impl::index_sequence = integer_sequence< size_t, Idx... >
 Alias template index_sequence.
 
template<size_t NumT>
using PTL::mpl::impl::make_index_sequence = make_integer_sequence< size_t, NumT >
 Alias template make_index_sequence.
 
template<typename... Types>
using PTL::mpl::impl::index_sequence_for = make_index_sequence< sizeof...(Types)>
 Alias template index_sequence_for.
 
template<size_t Idx, typename Tup >
using PTL::mpl::impl::index_type_t = decay_t< decltype(std::get< Idx >(std::declval< Tup >()))>
 
template<size_t... Idx>
using PTL::mpl::index_sequence = impl::integer_sequence< size_t, Idx... >
 Alias template index_sequence.
 
template<size_t NumT>
using PTL::mpl::make_index_sequence = impl::make_integer_sequence< size_t, NumT >
 Alias template make_index_sequence.
 
template<typename... Types>
using PTL::mpl::index_sequence_for = impl::make_index_sequence< sizeof...(Types)>
 Alias template index_sequence_for.
 

Functions

template<typename... Args>
void PTL::mpl::consume_parameters (Args &&...)
 

Macro Definition Documentation

◆ FALSE

#define FALSE   0

Definition at line 23 of file Globals.hh.

◆ PTL_FOLD_EXPRESSION

#define PTL_FOLD_EXPRESSION (   ...)
Value:
::std::initializer_list<int>{ (__VA_ARGS__, 0)... })
void consume_parameters(Args &&...)
Definition: Globals.hh:64

Definition at line 44 of file Globals.hh.

◆ TRUE

#define TRUE   1

Definition at line 27 of file Globals.hh.