Bytemaster's Boost Libraries
Public Member Functions | Friends
boost::cmt::retainable Class Reference

provides reference counted type More...

#include <retainable.hpp>

Inheritance diagram for boost::cmt::retainable:
boost::rpc::json::connection boost::rpc::json::tcp::connection

List of all members.

Public Member Functions

void retain ()
void release ()

Friends

class stack_retainable

Detailed Description

provides reference counted type

Use with retainable_ptr<T> to get automatic retain/release functionality.

This class uses atomic operations so the reference count is safe for sharing objects among threads


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Defines