The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Typedefs | Functions
reference_counted_object.hpp File Reference
#include <boost/intrusive_ptr.hpp>
Include dependency graph for reference_counted_object.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  reference_counted_object
 

Typedefs

typedef boost::intrusive_ptr
< reference_counted_object
object_ptr
 
typedef boost::intrusive_ptr
< const
reference_counted_object
const_object_ptr
 

Functions

void intrusive_ptr_add_ref (const reference_counted_object *obj)
 
void intrusive_ptr_release (const reference_counted_object *obj)
 

Typedef Documentation

Definition at line 50 of file reference_counted_object.hpp.

Definition at line 49 of file reference_counted_object.hpp.

Function Documentation

void intrusive_ptr_add_ref ( const reference_counted_object obj)
inline
void intrusive_ptr_release ( const reference_counted_object obj)
inline

Definition at line 45 of file reference_counted_object.hpp.

References reference_counted_object::dec_ref().

Referenced by variant::release().