reference_count.h File Reference

#include <comet/config.h>
#include <algorithm>

Include dependency graph for reference_count.h:

Include dependency graph

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

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  comet
namespace  std

Classes

class  comet::reference_count
 Simple reference counter. More...

Functions

template<> void swap (comet::reference_count &lhs, comet::reference_count &rhs) COMET_STD_SWAP_NOTHROW
 Specialisation of std::swap for reference_count.


Detailed Description

Implements a class that maintains a reference count.