Rosetta
|
Demo for boost shared_ptr. More...
#include <utility/pointer/owning_ptr.hh>
#include <utility/VirtualBase.hh>
#include <utility/excn/Exceptions.hh>
#include <boost/shared_ptr.hpp>
#include <memory>
Classes | |
struct | Base |
class | Son |
Typedefs | |
typedef boost::shared_ptr< int > | intSP__ |
typedef boost::shared_ptr< int > | intSP |
typedef boost::shared_ptr< int const > | intCSP |
typedef utility::pointer::owning_ptr< Base > | BaseOP |
typedef utility::pointer::owning_ptr< Base const > | BaseCOP |
typedef boost::shared_ptr< Base > | BaseSP |
typedef boost::shared_ptr< Base const > | BaseCSP |
typedef utility::pointer::owning_ptr< Son > | SonOP |
typedef utility::pointer::owning_ptr< Son const > | SonCOP |
typedef boost::shared_ptr< Son > | SonSP |
typedef boost::shared_ptr< Son const > | SonCSP |
Functions | |
void | foo_baseOP (BaseOP) |
void | foo_baseCOP (BaseCOP) |
void | foo_baseSP (BaseSP) |
void | foo_baseCSP (BaseCSP) |
void | foo_const_intSP (intCSP) |
int | main (int argc, char *argv[]) |
Demo for boost shared_ptr.
typedef boost::shared_ptr<int const> intCSP |
typedef boost::shared_ptr<int> intSP |
typedef boost::shared_ptr<int> intSP__ |
void foo_baseOP | ( | BaseOP | ) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
References a, test.T009_Exceptions::e, foo_baseCOP(), foo_baseCSP(), foo_baseSP(), and foo_const_intSP().