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

Go to the source code of this file.

Typedefs

typedef boost::intrusive_ptr
< unit
unit_ptr
 
typedef boost::intrusive_ptr
< const unit
unit_const_ptr
 

Functions

void intrusive_ptr_add_ref (const unit *)
 Intrusive Pointer interface. More...
 
void intrusive_ptr_release (const unit *)
 

Typedef Documentation

Definition at line 30 of file ptr.hpp.

Definition at line 29 of file ptr.hpp.

Function Documentation

void intrusive_ptr_add_ref ( const unit u)

Intrusive Pointer interface.

Definition at line 164 of file unit.cpp.

References unit::id(), LOG_UT, unit::ref_count(), unit::ref_count_, and unit::underlying_id().

void intrusive_ptr_release ( const unit )

Definition at line 180 of file unit.cpp.

References unit::id(), LOG_UT, unit::ref_count(), unit::ref_count_, and unit::underlying_id().