24#include "openPMD/auxiliary/UniquePtr.hpp"
33namespace openPMD::auxiliary
40 static constexpr bool value =
false;
46 static constexpr bool value =
true;
52 static constexpr bool value =
false;
55 template <
typename T,
size_t n>
58 static constexpr bool value =
true;
64 static constexpr bool value =
false;
70 static constexpr bool value =
true;
76 constexpr static bool value =
false;
82 constexpr static bool value =
true;
89 constexpr static bool value =
true;
93 template <
typename T,
typename Del>
96 constexpr static bool value =
true;
100 template <
typename T>
103 constexpr static bool value =
true;
110 constexpr static bool value =
false;
115 constexpr static bool value =
true;
120 constexpr static bool value =
true;
125 constexpr static bool value =
true;
130inline constexpr bool IsVector_v = detail::IsVector<T>::value;
133inline constexpr bool IsArray_v = detail::IsArray<T>::value;
136inline constexpr bool IsPointer_v = detail::IsPointer<T>::value;
142inline constexpr bool IsChar_v = detail::IsChar<C>::value;
153inline constexpr bool IsContiguousContainer_v = IsVector_v<T> || IsArray_v<T>;
156inline constexpr bool IsComplex_v = detail::IsComplex<T>::value;
162 inline constexpr bool dependent_false_v =
false;
169 template <
typename T>
170 using type = std::shared_ptr<T>;
173 template <
typename...>
176 template <
typename first_type,
typename... other_types>
179 using type = std::variant<first_type, other_types...>;
182 template <
typename...>
185 template <
typename F,
typename first_type,
typename... other_types>
189 typename F::template type<first_type>,
190 typename map_variant<F, std::variant<other_types...>>::type>::type;
193 template <
typename F>
196 using type = std::variant<>;
204 template <
typename Arg,
typename... Args>
205 using variant_tail_t = std::variant<Args...>;
Unique Pointer class that uses a dynamic destructor type.
Definition UniquePtr.hpp:86
@ T
time
Definition UnitDimension.hpp:41
Definition TypeTraits.hpp:51
Definition TypeTraits.hpp:109
Definition TypeTraits.hpp:63
Definition TypeTraits.hpp:75
Definition TypeTraits.hpp:39
Definition TypeTraits.hpp:174
Definition TypeTraits.hpp:168
Definition TypeTraits.hpp:200
Definition TypeTraits.hpp:183