map_utils.hpp File Reference

#include <map>

Include dependency graph for map_utils.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename K, typename V>
const V & map_get_value_default (const std::map< K, V > &m, const K &key, const V &val)


Function Documentation

template<typename K, typename V>
const V& map_get_value_default ( const std::map< K, V > &  m,
const K &  key,
const V &  val 
) [inline]

Definition at line 7 of file map_utils.hpp.

Referenced by game_logic::map_formula_callable::get_value().


Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs