2 #ifndef vbl_smart_ptr_hxx_ 3 #define vbl_smart_ptr_hxx_ 8 # include <vcl_msvc_warnings.h> 34 return os <<
"vbl_smart_ptr<" 41 #undef VBL_SMART_PTR_INSTANTIATE 42 #define VBL_SMART_PTR_INSTANTIATE(T) \ 43 template class vbl_smart_ptr<T >; \ 44 template <> struct vbl_smart_ptr_T_as_string<T > \ 45 { static char const *str() { return #T; } }; \ 46 template std::ostream& operator<< (std::ostream&, vbl_smart_ptr<T > const&) 48 #endif // vbl_smart_ptr_hxx_ T * as_pointer() const
These methods all return the raw/dumb pointer.
static char const * str()
A templated smart pointer class.
Contains a templated smart pointer class.
std::ostream & operator<<(std::ostream &os, vbl_smart_ptr< T > const &r)