CookMem 1.4.0
A C++ memory context / allocator
Loading...
Searching...
No Matches
cookmem::Allocator< T, ContextProvider >::rebind< U > Struct Template Reference

#include <allocator.h>

Public Types

typedef Allocator< U, ContextProvider > other
 

Detailed Description

template<class T, class ContextProvider = MemContextProvider<CachedMemContext<> >>
template<class U>
struct cookmem::Allocator< T, ContextProvider >::rebind< U >

Obtains the allocator type for a different object type that uses the same context provider.

Template Parameters
Uthe other object type.

Member Typedef Documentation

◆ other

template<class T , class ContextProvider = MemContextProvider<CachedMemContext<> >>
template<class U >
typedef Allocator<U, ContextProvider> cookmem::Allocator< T, ContextProvider >::rebind< U >::other

The allocator type for objects of type U.


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