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
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
34
namespace
openfpm
35
{
36
template
<
typename
T>
37
struct
vect_isel
38
{
39
enum
40
{
41
value =
is_typedef_and_data_same<has_typedef_type<T>::value
&&
has_data<T>::value
,T>::value + 1
42
};
43
};
44
}
45
46
47
#endif
/* VECTOR_IMPL_HPP_ */
is_typedef_and_data_same
check if T::type and T.data has the same type
Definition:
common.hpp:131
openfpm::vect_isel
Definition:
vect_isel.hpp:37
has_data
Definition:
common.hpp:83
src
Vector
vect_isel.hpp
Generated by
1.8.6