Testing Return Value Optimization (RVO)

chmike via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Sep 28 01:18:01 PDT 2015


Oops found it my self.

I had to use

auto x = foo();





More information about the Digitalmars-d-learn mailing list