OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
generate_indexes< T, N, F > Struct Template Reference

Main class to generate indexes data structure. More...

Detailed Description

template<class T, long int N, template< size_t, size_t > class F>
struct generate_indexes< T, N, F >

Main class to generate indexes data structure.

Meta-function definition

Usage

const size_t count = 5;
typedef typename ::generate_indexes<size_t,count, MetaFuncOrd>::result ct_test_ce;
bool check = std::is_same<ct_test_ce,index_tuple<0,1,2,3,4>>::value;
BOOST_REQUIRE_EQUAL(check,true);
Parameters
Tis the type of the output array
Nsize of the sequence
FMeta function it take two template arguments

Definition at line 68 of file ct_array.hpp.

#include <ct_array.hpp>

Public Types

typedef generate_indexes_impl
< T, N-1, N, F >::result 
result
 generate compile time array
 

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