Template Struct _AllocatorUtil
Defined in File rapidyaml-0.5.0.hpp
Inheritance Relationships
Base Type
public c4::MemRes
(Class MemRes)
Struct Documentation
-
template<class MemRes>
struct _AllocatorUtil : public c4::MemRes Public Functions
- template<class U, class... Args> inline C4_ALWAYS_INLINE std::enable_if< detail::has_no_alloc< U, Args... >::value, void >::type construct (U *ptr, Args &&...args)
for construct:
- template<class U, class I, class... Args> inline C4_ALWAYS_INLINE std::enable_if< detail::has_no_alloc< U, Args... >::value, void >::type construct_n (U *ptr, I n, Args &&... args)
- template<class U, class... Args> inline C4_ALWAYS_INLINE std::enable_if< detail::has_alloc_arg< U, Args... >::value, void >::type construct (U *ptr, Args &&... args)
- template<class U, class I, class... Args> inline C4_ALWAYS_INLINE std::enable_if< detail::has_alloc_arg< U, Args... >::value, void >::type construct_n (U *ptr, I n, Args &&... args)
- template<class U, class... Args> inline C4_ALWAYS_INLINE std::enable_if< detail::has_alloc< U, Args... >::value, void >::type construct (U *ptr, Args &&... args)
- template<class U, class I, class... Args> inline C4_ALWAYS_INLINE std::enable_if< detail::has_alloc< U, Args... >::value, void >::type construct_n (U *ptr, I n, Args &&... args)
-
inline MemRes()
-
inline MemRes(MemoryResource *r) noexcept
Public Static Functions
- template<class U> static inline C4_ALWAYS_INLINE void destroy (U *ptr)
- template<class U, class I> static inline C4_ALWAYS_INLINE void destroy_n (U *ptr, I n)