Halide
Halide::Internal::RefCount Class Reference

A class representing a reference count to be used with IntrusivePtr. More...

#include <IntrusivePtr.h>

Public Member Functions

 RefCount () noexcept
 
int increment ()
 
int decrement ()
 
bool is_zero () const
 

Detailed Description

A class representing a reference count to be used with IntrusivePtr.

Definition at line 19 of file IntrusivePtr.h.

Constructor & Destructor Documentation

◆ RefCount()

Halide::Internal::RefCount::RefCount ( )
inlinenoexcept

Definition at line 23 of file IntrusivePtr.h.

Member Function Documentation

◆ increment()

int Halide::Internal::RefCount::increment ( )
inline

Definition at line 26 of file IntrusivePtr.h.

◆ decrement()

int Halide::Internal::RefCount::decrement ( )
inline

Definition at line 29 of file IntrusivePtr.h.

◆ is_zero()

bool Halide::Internal::RefCount::is_zero ( ) const
inline

Definition at line 32 of file IntrusivePtr.h.


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