MAGE  v0.171.0
Matthias Advanced Game Engine
mage::AlignedAllocator< T, A >::rebind< U > Struct Template Reference

#include <allocation.hpp>

Public Types

using other = AlignedAllocator< U, A >
 

Detailed Description

template<typename T, std::size_t A = alignof(T)>
template<typename U>
struct mage::AlignedAllocator< T, A >::rebind< U >

A struct of equivalent aligned allocators for other elements with the same alignment.

Template Parameters
UThe data type.

Member Typedef Documentation

◆ other

template<typename T , std::size_t A = alignof(T)>
template<typename U >
using mage::AlignedAllocator< T, A >::rebind< U >::other = AlignedAllocator< U, A >

The equivalent aligned allocator for elements of type U with the same alignment as the aligned allocator for elements of type T.