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:

## Public Member Functions
| IntrusivePtrCell () noexcept
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 | ( |  | ) |
| inline noexcept

## 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:

- /home/runner/work/xgboost/xgboost/include/xgboost/intrusive_ptr.h