Alias to single function of object inside class

ARaspiK arav1025 at gmail.com
Tue Jan 16 19:00:16 UTC 2018


I have a class Foo, which has functions a(), b(), and c().
I have a class Bar that has baz, an instance of Foo.
How do I link Bar.b() -> baz.b() without also linking Foo.a() and 
Foo.c()?
I know we can do an alias this, but I only want to link over b().


More information about the Digitalmars-d-learn mailing list