mn::memory::pointer_traits< T * > Struct Template Reference

#include <mn_memory.hpp>

Classes

struct  rebind_to
 

Public Types

using pointer = T *
 
using element_type = T
 
using difference_type = mn::ptrdiff_t
 
template<class U >
using rebind = U *
 

Static Public Member Functions

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

Class Documentation

◆ mn::memory::pointer_traits< T * >::rebind_to

struct mn::memory::pointer_traits< T * >::rebind_to

template<class T>
template<class U>
struct mn::memory::pointer_traits< T * >::rebind_to< U >

Class Members
typedef U * type

Member Typedef Documentation

◆ difference_type

template<class T >
using mn::memory::pointer_traits< T * >::difference_type = mn::ptrdiff_t

◆ element_type

template<class T >
using mn::memory::pointer_traits< T * >::element_type = T

◆ pointer

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

◆ pointer_to

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

◆ rebind

template<class T >
template<class U >
using mn::memory::pointer_traits< T * >::rebind = U*

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