mn::memory::pointer_traits< TAllocator > Struct Template Reference

#include <mn_memory.hpp>

Classes

struct  rebind_to
 

Public Types

using pointer = T
 
using element_type = typename detail::ptr_element< T >::type
 
using difference_type = typename detail::ptr_difference< T >::type
 
template<class U >
using rebind = typename detail::ptr_rebind< T, U >::type
 

Static Public Member Functions

using pointer_to = (typename detail::ptr_value< element_type >::type &v) noexcept typename detail::ptr_rebind< T, U >::type
 

Class Documentation

◆ mn::memory::pointer_traits::rebind_to

struct mn::memory::pointer_traits::rebind_to

template<class TAllocator>
template<class U>
struct mn::memory::pointer_traits< TAllocator >::rebind_to< U >

Class Members
typedef typename template rebind< U > type

Member Typedef Documentation

◆ difference_type

template<class TAllocator >
using mn::memory::pointer_traits< TAllocator >::difference_type = typename detail::ptr_difference<T>::type

◆ element_type

template<class TAllocator >
using mn::memory::pointer_traits< TAllocator >::element_type = typename detail::ptr_element<T>::type

◆ pointer

template<class TAllocator >
using mn::memory::pointer_traits< TAllocator >::pointer = T

◆ pointer_to

template<class TAllocator >
using mn::memory::pointer_traits< TAllocator >::pointer_to = (typename detail::ptr_value< element_type >::type &v) noexcept typename detail::ptr_rebind<T, U>::type
inlinestaticnoexcept

◆ rebind

template<class TAllocator >
template<class U >
using mn::memory::pointer_traits< TAllocator >::rebind = typename detail::ptr_rebind<T, U>::type

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