38 #ifndef LIBPMEMOBJ_CPP_CHECK_PERSISTENT_PTR_ARRAY_HPP
39 #define LIBPMEMOBJ_CPP_CHECK_PERSISTENT_PTR_ARRAY_HPP
55 struct pp_if_not_array {
56 typedef obj::persistent_ptr<T> type;
63 struct pp_if_not_array<T[]> {
69 template <
typename T,
size_t N>
70 struct pp_if_not_array<T[N]> {
83 struct pp_if_array<T[]> {
84 typedef obj::persistent_ptr<T[]> type;
91 struct pp_if_size_array;
96 template <
typename T,
size_t N>
97 struct pp_if_size_array<T[N]> {
98 typedef obj::persistent_ptr<T[N]> type;