Scope of temporaries as function arguments

Steven Schveighoffer schveiguy at yahoo.com
Fri Jun 28 10:11:22 PDT 2013


On Fri, 28 Jun 2013 12:44:02 -0400, Ali Çehreli <acehreli at yahoo.com> wrote:

> I just finished checking. No, C++ does not have this problem. But there  
> is the following related issue, which every real C++ programmer should  
> know. ;)
>
>   
> http://www.boost.org/doc/libs/1_53_0/libs/smart_ptr/shared_ptr.htm#BestPractices

Thank you, I didn't know this.  I can consider myself a "real" C++  
programmer now :)

-Steve


More information about the Digitalmars-d-learn mailing list