Tensorium
Loading...
Searching...
No Matches
AlignedAllocator< T, Alignment >::rebind< U > Struct Template Reference

Rebinding structure for allocator traits. More...

#include <Allocator.hpp>

Collaboration diagram for AlignedAllocator< T, Alignment >::rebind< U >:

Public Types

using other = AlignedAllocator<U, Alignment>
 

Detailed Description

template<typename T, std::size_t Alignment>
template<typename U>
struct AlignedAllocator< T, Alignment >::rebind< U >

Rebinding structure for allocator traits.

Allows conversion of an AlignedAllocator<T, Alignment> to AlignedAllocator<U, Alignment>, which is required by STL containers during type conversions.

Template Parameters
UNew type for rebind.

Member Typedef Documentation

◆ other

template<typename T , std::size_t Alignment>
template<typename U >
using AlignedAllocator< T, Alignment >::rebind< U >::other = AlignedAllocator<U, Alignment>

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