C++QEDCore  v2 Milestone 10
a framework for simulating open quantum dynamics – core
tmptools::Vector< V > Struct Template Reference

A non-negative compile-time vector. More...

#include <TMP_Tools.h>

+ Inheritance diagram for tmptools::Vector< V >:
+ Collaboration diagram for tmptools::Vector< V >:

Detailed Description

template<int... V>
struct tmptools::Vector< V >

A non-negative compile-time vector.

It is based on and has the same characteristics as Boost.MPL’s vector.

Besides the check for the non-negativity of the elements @ compile time, its main motivation is that syntactic sugar that one can simply write tmptools::Vector<2,4,1,...> instead of boost::mpl::vector_c<int,2,4,1,...>, where the superfluity of int creates considerable mental friction

Template Parameters
Vvariadic number of integers

Definition at line 200 of file TMP_Tools.h.


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