Zserio C++ runtime library  1.1.0
Built for Zserio 2.15.0
zserio::pmr::PropagatingPolymorphicAllocator< T > Class Template Reference

#include <PolymorphicAllocator.h>

Inheritance diagram for zserio::pmr::PropagatingPolymorphicAllocator< T >:
Collaboration diagram for zserio::pmr::PropagatingPolymorphicAllocator< T >:

Classes

struct  rebind
 

Public Types

using propagate_on_container_copy_assignment = std::true_type
 
using propagate_on_container_move_assignment = std::true_type
 
using propagate_on_container_swap = std::true_type
 

Public Member Functions

PropagatingPolymorphicAllocator select_on_container_copy_construction () const
 

Detailed Description

template<class T = uint8_t>
class zserio::pmr::PropagatingPolymorphicAllocator< T >

Propagating version of the polymorphic allocator. This one is propagated on container copy and assignment.

Definition at line 214 of file PolymorphicAllocator.h.

Member Typedef Documentation

◆ propagate_on_container_copy_assignment

template<class T = uint8_t>
using zserio::pmr::PropagatingPolymorphicAllocator< T >::propagate_on_container_copy_assignment = std::true_type

Definition at line 219 of file PolymorphicAllocator.h.

◆ propagate_on_container_move_assignment

template<class T = uint8_t>
using zserio::pmr::PropagatingPolymorphicAllocator< T >::propagate_on_container_move_assignment = std::true_type

Definition at line 220 of file PolymorphicAllocator.h.

◆ propagate_on_container_swap

template<class T = uint8_t>
using zserio::pmr::PropagatingPolymorphicAllocator< T >::propagate_on_container_swap = std::true_type

Definition at line 221 of file PolymorphicAllocator.h.

Member Function Documentation

◆ select_on_container_copy_construction()

template<class T = uint8_t>
PropagatingPolymorphicAllocator zserio::pmr::PropagatingPolymorphicAllocator< T >::select_on_container_copy_construction ( ) const
inline

Returns instance of the allocator to be used when a container gets copied.

Definition at line 226 of file PolymorphicAllocator.h.


The documentation for this class was generated from the following file: