STXXL  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
counting_ptr.h File Reference
#include <cassert>
#include <cstdlib>
#include <algorithm>
#include <stxxl/types>
#include <stxxl/bits/config.h>
#include <stxxl/bits/common/mutex.h>

Go to the source code of this file.

Classes

class  stxxl::atomic_counted_object
 Provides reference counting abilities for use with counting_ptr with mutex locking. More...
 
class  stxxl::const_counting_ptr< Type >
 High-performance smart pointer used as a wrapping reference counting pointer. More...
 
class  stxxl::counted_object
 Provides reference counting abilities for use with counting_ptr. More...
 
class  stxxl::counting_ptr< Type >
 High-performance smart pointer used as a wrapping reference counting pointer. More...
 

Namespaces

 stxxl
 STXXL library namespace
 

Functions

template<class A >
void stxxl::swap (counting_ptr< A > &a1, counting_ptr< A > &a2)
 swap enclosed object with another counting pointer (no reference counts need change) More...
 
template<class A >
void stxxl::swap (const_counting_ptr< A > &a1, const_counting_ptr< A > &a2)
 swap enclosed object with another const_counting pointer (no reference counts need change) More...