di 0.1.0
Loading...
Searching...
No Matches
di::IntrusiveThreadUnsafeRefCount< T > Struct Template Reference

#include <di/vocab/pointer/rc.h>

Inheritance diagram for di::IntrusiveThreadUnsafeRefCount< T >:
di::util::Immovable

Public Member Functions

template<typename = void>
constexpr auto rc_from_this ()
Public Member Functions inherited from di::util::Immovable
 Immovable ()=default
 Immovable (Immovable &&)=delete

Protected Member Functions

 IntrusiveThreadUnsafeRefCount ()=default

Friends

template<typename>
struct MakeRcFunction
constexpr friend void tag_invoke (types::Tag< intrusive_ptr_increment >, InPlaceType< RcTag >, T *pointer)
constexpr friend void tag_invoke (types::Tag< intrusive_ptr_decrement >, InPlaceType< RcTag >, T *pointer)

Constructor & Destructor Documentation

◆ IntrusiveThreadUnsafeRefCount()

template<typename T>
di::vocab::IntrusiveThreadUnsafeRefCount< T >::IntrusiveThreadUnsafeRefCount ( )
protecteddefault

Member Function Documentation

◆ rc_from_this()

template<typename T>
template<typename = void>
auto di::vocab::IntrusiveThreadUnsafeRefCount< T >::rc_from_this ( )
inlineconstexpr

◆ MakeRcFunction

template<typename T>
template<typename>
friend struct MakeRcFunction
friend

◆ tag_invoke [1/2]

template<typename T>
friend void tag_invoke ( types::Tag< intrusive_ptr_decrement > ,
InPlaceType< RcTag > ,
T * pointer )
friend

◆ tag_invoke [2/2]

template<typename T>
friend void tag_invoke ( types::Tag< intrusive_ptr_increment > ,
InPlaceType< RcTag > ,
T * pointer )
friend

The documentation for this struct was generated from the following file:
  • di/vocab/pointer/rc.h