The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Functions
shared_object.hpp File Reference
#include <algorithm>
#include <cassert>
#include <climits>
#include <cstddef>
#include <ostream>
Include dependency graph for shared_object.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  shared_node< T >
 
class  shared_object< T, node >
 

Functions

template<typename T >
bool operator== (const shared_object< T > &a, const shared_object< T > &b)
 
template<typename T >
bool operator< (const shared_object< T > &a, const shared_object< T > &b)
 
template<typename T >
std::ostream & operator<< (std::ostream &stream, const shared_object< T > &o)
 
template<typename T >
std::istream & operator>> (std::istream &stream, shared_object< T > &o)
 

Function Documentation

template<typename T >
bool operator< ( const shared_object< T > &  a,
const shared_object< T > &  b 
)

Definition at line 118 of file shared_object.hpp.

template<typename T >
std::ostream& operator<< ( std::ostream &  stream,
const shared_object< T > &  o 
)

Definition at line 125 of file shared_object.hpp.

template<typename T >
bool operator== ( const shared_object< T > &  a,
const shared_object< T > &  b 
)
template<typename T >
std::istream& operator>> ( std::istream &  stream,
shared_object< T > &  o 
)

Definition at line 131 of file shared_object.hpp.

References shared_object< T, node >::set().