OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
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 69 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
 

Member Typedef Documentation

◆ result

template<class T , long int N, template< size_t, size_t > class F>
typedef generate_indexes_impl<T,N-1,N,F>::result generate_indexes< T, N, F >::result

generate compile time array

Definition at line 71 of file ct_array.hpp.


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