Template Class SmallAllocator
Defined in File rapidyaml-0.5.0.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public c4::detail::_AllocatorUtil< MemResGlobal >
(Template Struct _AllocatorUtil)
Class Documentation
-
template<class T, size_t N = 16, size_t Alignment = alignof(T), class MemResProvider = MemResGlobal>
class SmallAllocator : public c4::detail::_AllocatorUtil<MemResGlobal> Public Types
-
using size_type = size_t
-
using difference_type = std::ptrdiff_t
-
using propagate_on_container_move_assigment = std::true_type
Public Functions
-
template<class U>
inline bool operator==(SmallAllocator<U, N, Alignment, MemResProvider> const&) const
-
template<class U>
inline bool operator!=(SmallAllocator<U, N, Alignment, MemResProvider> const&) const
-
inline SmallAllocator()
-
template<class U, size_t N2, size_t A2, class MP2>
inline SmallAllocator(SmallAllocator<U, N2, A2, MP2> const &that)
-
SmallAllocator(SmallAllocator const&) = default
-
SmallAllocator(SmallAllocator&&) = default
-
SmallAllocator &operator=(SmallAllocator const&) = default
-
SmallAllocator &operator=(SmallAllocator&&) = default
-
inline SmallAllocator select_on_container_copy_construct() const
returns a default-constructed polymorphic allocator object
Friends
- friend class SmallAllocator
-
template<class U>
struct rebind Public Types
-
using other = SmallAllocator<U, N, alignof(U), MemResProvider>
-
using other = SmallAllocator<U, N, alignof(U), MemResProvider>
-
using size_type = size_t