On 8/10/2016 10:05 PM, rikki cattermole wrote:
I see RefCountedSlice example, does this mean if I alias this say like:

struct FooBar;

struct Foo {
    FooBar* v;

    scope FooBar* get() { return v; }
    alias this get;

That it will operate correctly in the below case?

void func(scope FooBar*)

Yes, it better :-)

Reply via email to