Async++ unknown
Async (co_await/co_return) code for C++
Loading...
Searching...
No Matches
asyncpp::thread_safe_refcount Struct Reference

Threadsafe refcount policy. More...

#include <asyncpp/ref.h>

Public Member Functions

constexpr thread_safe_refcount (size_t init_val=0) noexcept
 
 thread_safe_refcount (const thread_safe_refcount &other)=delete
 
thread_safe_refcountoperator= (const thread_safe_refcount &other)=delete
 
size_t fetch_increment () noexcept
 
size_t fetch_decrement () noexcept
 
size_t count () const noexcept
 

Public Attributes

std::atomic< size_t > m_count
 

Detailed Description

Threadsafe refcount policy.


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