The Battle for Wesnoth  1.15.6+dev
Typedefs
ptr.hpp File Reference
#include <boost/intrusive_ptr.hpp>
#include <memory>
#include "utils/shared_reference.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 utils::shared_reference< unitnonempty_unit_ptr
 
typedef utils::shared_reference< const unitnonempty_unit_const_ptr
 
typedef std::shared_ptr< unitunit_ptr
 
typedef std::shared_ptr< const unitunit_const_ptr
 
using attack_ptr = std::shared_ptr< attack_type >
 
using const_attack_ptr = std::shared_ptr< const attack_type >
 

Typedef Documentation

◆ attack_ptr

using attack_ptr = std::shared_ptr<attack_type>

Definition at line 35 of file ptr.hpp.

◆ const_attack_ptr

using const_attack_ptr = std::shared_ptr<const attack_type>

Definition at line 36 of file ptr.hpp.

◆ nonempty_unit_const_ptr

Definition at line 27 of file ptr.hpp.

◆ nonempty_unit_ptr

Definition at line 24 of file ptr.hpp.

◆ unit_const_ptr

typedef std::shared_ptr<const unit> unit_const_ptr

Definition at line 29 of file ptr.hpp.

◆ unit_ptr

typedef std::shared_ptr<unit> unit_ptr

Definition at line 28 of file ptr.hpp.