#include <stlsoft/stlsoft.h>
Go to the source code of this file.
Namespaces | |
namespace | stlsoft |
Classes | |
class | ref_ptr |
This class provides RAII-safe handling of reference-counted interfaces (RCIs). More... | |
Functions | |
template<typename I> | |
void | add_reference (I *pi) |
Control shim for adding a reference on a reference-counted interface (RCI). | |
template<typename I> | |
void | release_reference (I *pi) |
Control shim for releasing a reference on a reference-counted interface (RCI). | |
template<typename T, typename I, typename U> | |
bool | operator== (ref_ptr< T, I, U > const &lhs, ref_ptr< T, I, U > const &rhs) |
template<typename T, typename I, typename U> | |
bool | operator!= (ref_ptr< T, I, U > const &lhs, ref_ptr< T, I, U > const &rhs) |
template<typename T, typename I, typename U> | |
void | swap (ref_ptr< T, I, U > &lhs, ref_ptr< T, I, U > &rhs) |
template<typename T, typename I, typename U> | |
bool | is_empty (ref_ptr< T, I, U > const &p) |
is_empty shim | |
template<typename T, typename I, typename U> | |
T * | get_ptr (ref_ptr< T, I, U > const &p) |
get_ptr shim | |
template<typename S, typename T, typename I, typename U> | |
S & | operator<< (S &s, ref_ptr< T, I, U > const &p) |
Insertion operator shim. |