xgboost
Public Member Functions | Friends | List of all members
xgboost::IntrusivePtrCell Class Reference

Helper class for embedding reference counting into client objects. See https://www.boost.org/doc/libs/1_74_0/doc/html/atomic/usage_examples.html for discussions of memory order. More...

#include <intrusive_ptr.h>

Collaboration diagram for xgboost::IntrusivePtrCell:
Collaboration graph

Public Member Functions

 IntrusivePtrCell () noexcept=default
 
int32_t Count () const
 

Friends

template<typename T >
class IntrusivePtr
 

Detailed Description

Helper class for embedding reference counting into client objects. See https://www.boost.org/doc/libs/1_74_0/doc/html/atomic/usage_examples.html for discussions of memory order.

Constructor & Destructor Documentation

◆ IntrusivePtrCell()

xgboost::IntrusivePtrCell::IntrusivePtrCell ( )
defaultnoexcept

Member Function Documentation

◆ Count()

int32_t xgboost::IntrusivePtrCell::Count ( ) const
inline

Friends And Related Function Documentation

◆ IntrusivePtr

template<typename T >
friend class IntrusivePtr
friend

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