It analyze the type given and it select correctly the implementation for vector. More...
It analyze the type given and it select correctly the implementation for vector.
type | to analyze |
[Example]
vect_isel<T>::value
will return 1 for std base implementation will return 2 for openfpm native implementation
Basically the openfpm native implementation require that T has some specific structure, this class check for it, if T does not have this structure it fall to the case 1
Definition at line 36 of file vect_isel.hpp.
#include <vect_isel.hpp>
Public Types | |
enum | { value = is_typedef_and_data_same<has_typedef_type<T>::value && has_data<T>::value,T>::value + 1 } |
anonymous enum |
Definition at line 38 of file vect_isel.hpp.