Freeciv-3.3
Loading...
Searching...
No Matches
Data Structures | Macros
listener.h File Reference
#include <set>

Go to the source code of this file.

Data Structures

class  listener< _type_ >
 

Macros

#define FC_CPP_DECLARE_LISTENER(_type_)
 

Macro Definition Documentation

◆ FC_CPP_DECLARE_LISTENER

#define FC_CPP_DECLARE_LISTENER (   _type_)
Value:
template<> \
std::set<_type_ *> listener<_type_>::instances = std::set<_type_ *>();

Macro to declare the static data needed by listener<> classes

Definition at line 134 of file listener.h.