Encapsulate return value in scoped

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 18 17:33:08 PDT 2015


On 06/18/2015 05:25 PM, Yuxuan Shui wrote:

 > What problem can moving a scoped cause when there's
 > no reference to its inner class?

I am curious as well. Could it be related to the object's 'monitor'? 
Perhaps some other code may have a reference to monitor? And that 
reference does not constitute as a reference to the object itself? I 
don't know.

Ali



More information about the Digitalmars-d-learn mailing list