OpenFPM_pdata
1.1.0
Project that contain the implementation of distributed structures
All
Data Structures
Namespaces
Functions
Variables
Typedefs
Enumerations
Friends
Pages
vect_isel.hpp
1
/*
2
* vector_impl.hpp
3
*
4
* Created on: Mar 8, 2015
5
* Author: Pietro Incardona
6
*/
7
8
#ifndef VECTOR_IMPL_HPP_
9
#define VECTOR_IMPL_HPP_
10
11
#include "util/common.hpp"
12
13
#define STD_VECTOR 1
14
#define OPENFPM_NATIVE 2
15
16
namespace
openfpm
17
{
35
template
<
typename
T>
36
struct
vect_isel
37
{
38
enum
39
{
40
value =
is_typedef_and_data_same<has_typedef_type<T>::value
&&
has_data<T>::value
,T>::value + 1
41
};
42
};
43
}
44
45
46
#endif
/* VECTOR_IMPL_HPP_ */
is_typedef_and_data_same
check if T::type and T.data has the same type
Definition:
common.hpp:154
openfpm::vect_isel
It analyze the type given and it select correctly the implementation for vector.
Definition:
vect_isel.hpp:36
has_data
Definition:
common.hpp:106
openfpm_data
src
Vector
vect_isel.hpp
Generated by
1.8.6