9 #ifndef SRC_PACK_AAA_SELECTOR_HPP_
10 #define SRC_PACK_AAA_SELECTOR_HPP_
12 #include <type_traits>
13 #include "util/common.hpp"
14 #include "Grid/Encap.hpp"
15 #include "Grid/util.hpp"
16 #include "Vector/util.hpp"
19 #define PACKER_PRIMITIVE 1
20 #define PACKER_ARRAY_PRIMITIVE 2
22 #define PACKER_ENCAP_OBJECTS 3
24 #define PACKER_VECTOR 4
28 #define PACKER_OBJECTS_WITH_WARNING_POINTERS 6
30 #define PACKER_OBJECTS_WITH_POINTER_CHECK 7
41 template <
typename T,
bool has_noPo
inters>
46 value = PACKER_OBJECTS_WITH_POINTER_CHECK
55 value = PACKER_OBJECTS_WITH_WARNING_POINTERS
63 template <
typename T,
int known_type>
95 value = PACKER_ENCAP_OBJECTS
103 template<
typename T,
bool is_foundamental>
120 value = PACKER_PRIMITIVE
130 template <
typename T>
Pack selector for unknown type.
it is not a fundamental type
Pack selector for unknown type.