#include <algorithm>
#include <cassert>
#include <climits>
#include <cstddef>
#include <ostream>
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) |
bool operator< | ( | const shared_object< T > & | a, |
const shared_object< T > & | b | ||
) |
Definition at line 118 of file shared_object.hpp.
std::ostream& operator<< | ( | std::ostream & | stream, |
const shared_object< T > & | o | ||
) |
Definition at line 125 of file shared_object.hpp.
bool operator== | ( | const shared_object< T > & | a, |
const shared_object< T > & | b | ||
) |
Definition at line 113 of file shared_object.hpp.
References shared_object< T, node >::get(), and shared_object< T, node >::ptr().
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().