BDM's own smart pointers. More...
#include <limits.h>#include <algorithm>#include <stdexcept>#include <string>#include "bdmerror.h"Go to the source code of this file.
Classes | |
| class | bdm::shared_ptr< T > |
| A naive implementation of roughly a subset of the std::tr1::shared_ptr spec. More... | |
| class | bdm::object_ptr< T > |
| A wrapper of shared_ptr which is never empty. More... | |
Defines | |
| #define | SHAREDPTR(class_name) typedef bdm::object_ptr< class_name > class_name##_ptr |
| #define | SHAREDPTR2(template_class_name, template_parameter_name) typedef bdm::object_ptr< template_class_name < template_parameter_name > > template_class_name##_##template_parameter_name##_ptr |
Functions | |
| template<typename T , typename U > | |
| bool | bdm::operator== (shared_ptr< T > const &a, shared_ptr< U > const &b) |
| Compare shared pointers. | |
| template<typename T , typename U > | |
| bool | bdm::operator!= (shared_ptr< T > const &a, shared_ptr< U > const &b) |
| Compare shared pointers. | |
| template<typename T , typename U > | |
| bool | bdm::operator< (shared_ptr< T > const &a, shared_ptr< U > const &b) |
| Compare shared pointers. | |
BDM's own smart pointers.
----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty
Using IT++ for numerical operations -----------------------------------
1.6.1