C++QEDCore  2.100.2 (v2 Milestone 10 Development branch)
a framework for simulating open quantum dynamics – core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
tmptools Namespace Reference

Template metaprogramming tools. More...

Classes

struct  AssertEvenAndDivideBy2
 Provokes a compile-time error if N is not even, otherwise acts as a Boost.MPL int_ integral constant wrapper of N/2 More...
 
struct  ConditionalAddConst
 Applies add_const if ADD_CONST = true. More...
 
struct  numerical_contains
 Determines whether a compile-time sequence “numerically contains” a given value. More...
 
struct  numerical_contains_c
 The _c version of numerical_contains, which expects a value instead of an integral constant wrapper. More...
 
struct  numerical_equal
 Determines the numerical equality of two compile-time sequences. More...
 
struct  Ordinals
 Sequence of ordinals 0 ... N-1 based on Range. More...
 
struct  pair_c
 A compile-time pair of integers. More...
 
struct  pair_c< N1, N2, false >
 A non-exclusive pair_c that allows the members to be equal. More...
 
struct  pair_c< N1, N2, true >
 An exclusive pair_c that provokes a compile-time error if the members are equal. More...
 
struct  Power
 Calculates the power $N_1^{N_2}$ @ compile time. More...
 
struct  Range
 An integer range_c starting with Nbeg and having N elements (Nbeg ... Nbeg+N-1) More...
 
struct  RemoveConstReference
 Combines remove_const and remove_reference More...
 
struct  Vector
 A non-negative compile-time vector. More...
 

Typedefs

typedef Vector V_Empty
 

Detailed Description

Template metaprogramming tools.