Encapsulate return value in scoped

Daniel Kozák via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 11 02:11:30 PDT 2015


On Thu, 11 Jun 2015 09:01:04 +0000
Yuxuan Shui via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
wrote:
> 	A x = scoped!A(10);

use auto x = scoped!A(10);


More information about the Digitalmars-d-learn mailing list