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 37 of file cow_wrapper.hxx.

Member Typedef Documentation

Member Function Documentation

static bool o3tl::UnsafeRefCountingPolicy::decrementCount ( ref_count_t rCount)
static void o3tl::UnsafeRefCountingPolicy::incrementCount ( ref_count_t rCount)

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