The Battle for Wesnoth  1.15.11+dev
Typedefs
ptr.hpp File Reference
#include "utils/shared_reference.hpp"
#include <memory>
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 32 of file ptr.hpp.

◆ const_attack_ptr

using const_attack_ptr = std::shared_ptr<const attack_type>

Definition at line 33 of file ptr.hpp.

◆ nonempty_unit_const_ptr

Definition at line 24 of file ptr.hpp.

◆ nonempty_unit_ptr

Definition at line 21 of file ptr.hpp.

◆ unit_const_ptr

typedef std::shared_ptr<const unit> unit_const_ptr

Definition at line 26 of file ptr.hpp.

◆ unit_ptr

typedef std::shared_ptr<unit> unit_ptr

Definition at line 25 of file ptr.hpp.