Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

immer::no_refcount_policy Struct Reference

#include <no_refcount_policy.hpp>

Public Types

using spinlock_type = no_spinlock
 

Public Member Functions

 no_refcount_policy ()
 
 no_refcount_policy (disowned)
 
void inc ()
 
bool dec ()
 
void dec_unsafe ()
 
bool unique ()
 

Detailed Description

Disables reference counting, to be used with an alternative garbage collection strategy like a gc_heap.

Definition at line 31 of file no_refcount_policy.hpp.

Member Typedef Documentation

◆ spinlock_type

Constructor & Destructor Documentation

◆ no_refcount_policy() [1/2]

immer::no_refcount_policy::no_refcount_policy ( )
inline

Definition at line 35 of file no_refcount_policy.hpp.

◆ no_refcount_policy() [2/2]

immer::no_refcount_policy::no_refcount_policy ( disowned  )
inline

Definition at line 36 of file no_refcount_policy.hpp.

Member Function Documentation

◆ dec()

bool immer::no_refcount_policy::dec ( )
inline

Definition at line 39 of file no_refcount_policy.hpp.

◆ dec_unsafe()

void immer::no_refcount_policy::dec_unsafe ( )
inline

Definition at line 40 of file no_refcount_policy.hpp.

◆ inc()

void immer::no_refcount_policy::inc ( )
inline

Definition at line 38 of file no_refcount_policy.hpp.

◆ unique()

bool immer::no_refcount_policy::unique ( )
inline

Definition at line 41 of file no_refcount_policy.hpp.


The documentation for this struct was generated from the following file:
Released under the MIT license