[C++-sig] Policies...
Piotr Jaroszynski
p.jaroszynski at gmail.com
Sun Apr 22 22:50:53 CEST 2007
On Sunday 22 of April 2007 22:37:37 Roman Yakovenko wrote:
> The default one. In this case you don't specify the call policy for the
> function.
Thanks!
I have another two cases tho :]
1) Would there be any difference if a raw pointer instead of shared_ptr was
used for Blah?
2) What is the proper policy if the Blah object has a reference to Foo, so
blah = Foo().get_blah() will result in dangling reference in blah as the
object Foo will be destroyed after the function call?
--
Best Regards,
Piotr Jaroszynski
More information about the Cplusplus-sig
mailing list