LibreOffice Module o3tl (master) 1
Public Types | Static Public Member Functions | List of all members
o3tl::UnsafeRefCountingPolicy Struct Reference

Thread-unsafe refcounting. More...

#include <cow_wrapper.hxx>

Public Types

typedef std::size_t ref_count_t
 

Static Public Member Functions

static void incrementCount (ref_count_t &rCount)
 
static bool decrementCount (ref_count_t &rCount)
 

Detailed Description

Thread-unsafe refcounting.

This is the default locking policy for cow_wrapper. No locking/guarding against concurrent access is performed whatsoever.

Definition at line 36 of file cow_wrapper.hxx.

Member Typedef Documentation

◆ ref_count_t

Member Function Documentation

◆ decrementCount()

static bool o3tl::UnsafeRefCountingPolicy::decrementCount ( ref_count_t rCount)
inlinestatic

◆ incrementCount()

static void o3tl::UnsafeRefCountingPolicy::incrementCount ( ref_count_t rCount)
inlinestatic

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