On 3/20/12 9:47 PM, Walter Bright wrote:
auto foo()
{
struct S { ... }
S s;
return s;
}

auto x = foo();

And now x is an instance of a voldemort type! It's completely encapsulated.

LOL. Heck, I'd include "Voldemort types" just because it sounds so cool.

Andrei

Reply via email to