Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZStd::intrusive_refcount< refcount_t, Deleter > Class Template Reference

#include <intrusive_refcount.h>

Inherited by AZ::BehaviorDefaultValue.

Public Member Functions

uint32_t use_count () const
 

Protected Member Functions

 intrusive_refcount (Deleter deleter)
 
 intrusive_refcount (const intrusive_refcount &)=delete
 
 intrusive_refcount (intrusive_refcount &&)=delete
 
void add_ref () const
 
void release () const
 

Friends

template<typename T >
struct IntrusivePtrCountPolicy
 
struct intrusive_default_delete
 

Detailed Description

template<typename refcount_t, typename Deleter = intrusive_default_delete>
class AZStd::intrusive_refcount< refcount_t, Deleter >

An intrusive reference counting base class that is compliant with AZStd::intrusive_ptr. Explicit friending of intrusive_ptr is used; the user must use intrusive_ptr to take a reference on the object.


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