Jonathan M Davis: > They're private _access_ but still visible.
In my opinion this is not good, it looks like a messy special case.
> I believe that it's necessary for stuff like
> where various functions in std.algorithm return auto and return a private
> struct which you cannot construct yourself.
Do you mean something like this? This returns a struct defined inside, but it's
not a private definition.
auto foo() {
struct Bar {}
return Bar();
}
Bye,
bearophile
