6#include "boost/shared_ptr.hpp"
7#include "boost/weak_ptr.hpp"
15 void operator()(
void const *)
const
28 class RCP :
public boost::shared_ptr<T>
32 RCP() : boost::shared_ptr<T>() {}
46 explicit RCP(T* x) : boost::shared_ptr<T>(x) {}
48 RCP(boost::shared_ptr<T>& x) : boost::shared_ptr<T>(x) {}
51 RCP(
const boost::shared_ptr<F>& x) : boost::shared_ptr<T>(x) {}
54 template<
class F,
class G>
55 RCP(F x, G y) : boost::shared_ptr<T>(x, y) {}
64 RCP<T>& operator=(
const boost::shared_ptr<F> x)
73 template<
class NewType>
76 return RCP<NewType>( boost::shared_ptr<NewType>(*
this) );
RCP()
Default constructor.
RCP(F x, G y)
Constructor which includes the deleter G.
RCP< T > makeRCP_weak(T *x)
Set< F > makeSet(uint n, const F &first,...)