Itoyori  v0.0.1
ityr::ori::global_ref< T, typename > Class Template Reference

#include <global_ptr.hpp>

Public Types

using value_type = std::remove_cv_t< T >
 
using pointer = global_ptr< T >
 

Public Member Functions

constexpr global_ref (const global_ptr< T > &p) noexcept
 
constexpr global_ref (const this_t &r) noexcept
 
constexpr pointer operator& () const noexcept
 
this_toperator= (const T &v)
 
this_toperator= (T &&v)
 
this_toperator= (const this_t &r)
 
this_toperator= (this_t &&r)
 
this_toperator+= (const T &v)
 
this_toperator-= (const T &v)
 
this_toperator++ ()
 
this_toperator-- ()
 
operator++ (int)
 
operator-- (int)
 
void swap (this_t r)
 

Member Typedef Documentation

◆ pointer

template<typename T , typename >
using ityr::ori::global_ref< T, typename >::pointer = global_ptr<T>

◆ value_type

template<typename T , typename >
using ityr::ori::global_ref< T, typename >::value_type = std::remove_cv_t<T>

Constructor & Destructor Documentation

◆ global_ref() [1/2]

template<typename T , typename >
constexpr ityr::ori::global_ref< T, typename >::global_ref ( const global_ptr< T > &  p)
inlineexplicitconstexprnoexcept

◆ global_ref() [2/2]

template<typename T , typename >
constexpr ityr::ori::global_ref< T, typename >::global_ref ( const this_t r)
inlineconstexprnoexcept

Member Function Documentation

◆ operator&()

template<typename T , typename >
constexpr pointer ityr::ori::global_ref< T, typename >::operator& ( ) const
inlineconstexprnoexcept

◆ operator++() [1/2]

template<typename T , typename >
this_t& ityr::ori::global_ref< T, typename >::operator++ ( )
inline

◆ operator++() [2/2]

template<typename T , typename >
T ityr::ori::global_ref< T, typename >::operator++ ( int  )
inline

◆ operator+=()

template<typename T , typename >
this_t& ityr::ori::global_ref< T, typename >::operator+= ( const T &  v)
inline

◆ operator--() [1/2]

template<typename T , typename >
this_t& ityr::ori::global_ref< T, typename >::operator-- ( )
inline

◆ operator--() [2/2]

template<typename T , typename >
T ityr::ori::global_ref< T, typename >::operator-- ( int  )
inline

◆ operator-=()

template<typename T , typename >
this_t& ityr::ori::global_ref< T, typename >::operator-= ( const T &  v)
inline

◆ operator=() [1/4]

template<typename T , typename >
this_t& ityr::ori::global_ref< T, typename >::operator= ( const T &  v)
inline

◆ operator=() [2/4]

template<typename T , typename >
this_t& ityr::ori::global_ref< T, typename >::operator= ( const this_t r)
inline

◆ operator=() [3/4]

template<typename T , typename >
this_t& ityr::ori::global_ref< T, typename >::operator= ( T &&  v)
inline

◆ operator=() [4/4]

template<typename T , typename >
this_t& ityr::ori::global_ref< T, typename >::operator= ( this_t &&  r)
inline

◆ swap()

template<typename T , typename >
void ityr::ori::global_ref< T, typename >::swap ( this_t  r)
inline

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