Compounds | |
| class | shared_ptr |
| reference counting smart pointer. More... | |
Functions | |
| template<typename T> void | checked_delete (T *x) |
| template<typename T> void | checked_array_delete (T *x) |
| template<typename T, typename U> bool | operator== (const shared_ptr< T > &a, const shared_ptr< U > &b) |
| template<typename T, typename U> bool | operator!= (const shared_ptr< T > &a, const shared_ptr< U > &b) |
| template<typename T> bool | operator< (shared_ptr< T > const &a, shared_ptr< T > const &b) |
| template<typename T, typename U> shared_ptr< T > | shared_dynamic_cast (shared_ptr< U > const &r) |
|
||||||||||
|
Definition at line 76 of file shared_ptr.h.
00077 {
00078 delete [] x;
00079 }
|
|
||||||||||
|
Definition at line 70 of file shared_ptr.h. Referenced by cppdom_boost::detail::shared_deleter< T >::del().
00071 {
00072 delete x;
00073 }
|
|
||||||||||||||||
|
Definition at line 239 of file shared_ptr.h. References cppdom_boost::shared_ptr< T >::get().
00240 { return a.get() != b.get(); }
|
|
||||||||||||||||
|
Definition at line 248 of file shared_ptr.h.
00250 {
00251 return std::less<T*>()(a.get(), b.get());
00252 }
|
|
||||||||||||||||
|
Definition at line 235 of file shared_ptr.h. References cppdom_boost::shared_ptr< T >::get().
00236 { return a.get() == b.get(); }
|
|
||||||||||
|
Definition at line 254 of file shared_ptr.h.
00255 {
00256 return shared_ptr<T>(r, detail::dynamic_cast_tag());
00257 }
|
1.2.15