OpenFPM_data  0.1.0
Project that contain the implementation and interfaces for basic structure like vectors, grids, graph ... .
 All Data Structures Namespaces Functions Variables Typedefs Friends
to_int_sequence< N, M > Struct Template Reference

Detailed Description

template<unsigned int N, unsigned int M>
struct to_int_sequence< N, M >

It create a mpl::vector sequence of integer from N to M

usage:

to_sequence<3,5>::type

is mapped to

boost::mpl::vector<int_<3>,int_<4>,int<5>>

Parameters
Nmetafunction (is a structure with typedef type)
Mboost::fusion::vector

Definition at line 79 of file create_vmpl_sequence.hpp.

#include <create_vmpl_sequence.hpp>

Public Types

typedef exit_impl< N, M >::type exit_
 end condition
 
typedef boost::mpl::vector
< boost::mpl::int_< N > > 
vi
 starting vector type
 
typedef to_variadic_impl< vi,
N+1, M, exit_::value >::type 
type
 generate the boost::fusion::vector apply H on each term
 

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