#include "map/location.hpp"
#include "units/ptr.hpp"
#include "utils/reference_counter.hpp"
#include <cassert>
#include <map>
#include <unordered_map>
Go to the source code of this file.
Classes | |
class | unit_map |
Container associating units to locations. More... | |
struct | unit_map::unit_pod |
The pointer to the unit and a reference counter to record the number of extant iteratorspointing to this unit. More... | |
struct | unit_map::standard_iter_types |
struct | unit_map::const_iter_types |
struct | unit_map::iterator_base< iter_types > |
Functions | |
void | swap (unit_map &lhs, unit_map &rhs) |
Implement non-member swap function for std::swap (calls unit_map::swap). More... | |
Implement non-member swap function for std::swap (calls unit_map::swap).
Definition at line 440 of file map.cpp.
References unit_map::swap().
Referenced by unit_map::swap().