xentara-utils v2.0.4
The Xentara Utility Library
Loading...
Searching...
No Matches
xentara::utils::core::pmr Namespace Reference

Collections with polymorphic allocators. More...

Typedefs

template<typename Element >
using FixedVector = xentara::utils::core::FixedVector< Element, std::pmr::polymorphic_allocator< Element > >
 A fixed vector that uses a polymorphic allocator.
 
using RawDataBlock = RawVector< std::byte >
 A block of raw byte data that uses a polymorphic allocator.
 
template<typename Element >
using RawVector = xentara::utils::core::RawVector< Element, std::pmr::polymorphic_allocator< Element > >
 A block of raw data that uses a polymorphic allocator.
 

Detailed Description

Collections with polymorphic allocators.

This namespace contains type aliases for collection classes that use polymorphic allocators

Typedef Documentation

◆ FixedVector

template<typename Element >
using xentara::utils::core::pmr::FixedVector = typedef xentara::utils::core::FixedVector<Element, std::pmr::polymorphic_allocator<Element> >

A fixed vector that uses a polymorphic allocator.

This class behaves exactly like std::pmr::vector, but does not value-initialize new elements.

Template Parameters
ElementThe type for the elements

◆ RawDataBlock

A block of raw byte data that uses a polymorphic allocator.

Include file
#include <xentara/utils/core/RawVector.hpp>

◆ RawVector

template<typename Element >
using xentara::utils::core::pmr::RawVector = typedef xentara::utils::core::RawVector<Element, std::pmr::polymorphic_allocator<Element> >

A block of raw data that uses a polymorphic allocator.

This class behaves exactly like std::pmr::vector, but does not value-initialize new elements.

Template Parameters
ElementThe type for the elements