zade wrote:
> boost::shared_ptr is good for return type when you create a new type
> using pimpl idiom, but in practice, it gives me some trouble when used
> for covariant return type. code like below:
blah
> so, any advice?
I think you may be interested in the solution provided on boost page:
http://lists.boost.org/boost-users/2003/02/2996.php
Regards,
Marcin Barczynski
{ Edits: block of blank lines + Yahoo spam removed. -mod }
--
[ See http://www.gotw.ca/resources/clcm.htm
for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]