The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Functions
unit_detail Namespace Reference

Functions

template<typename T >
const T & get_or_default (const boost::scoped_ptr< T > &v)
 

Function Documentation

template<typename T >
const T& unit_detail::get_or_default ( const boost::scoped_ptr< T > &  v)

Definition at line 48 of file unit.hpp.

Referenced by unit::image_ellipse(), unit::image_halo(), and unit::usage().