6 Oct
2013
6 Oct
'13
7:32 p.m.
Larry Evans wrote:
Googling:
c++ templated friend
lead to:
http://stackoverflow.com/questions/3292795/template-friend
which lead to the owner_ptr CTOR code:
template<typename Derived> owner_ptr (owner_ptr<Derived>&& source) : pointer(source.pointer) { source.pointer = nullptr; } template <class Derived> friend class owner_ptr;
in rich_typed_ptr.hpp which resulted in successful compile and run of the shapes.cpp example without using make_dynamic.
HTH.
Yes! Thanks a million. -Julian