What is the correct way to forward method calls to the struct field?
Philippe Sigaud via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jun 22 08:07:53 PDT 2014
On Sun, Jun 22, 2014 at 5:04 PM, monnoroch via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> wrote:
> There is also a problem: when i declare opDispatch to be private,
> i still have access to this forwarding from another package. Is
> it a bug or what?
I don't know. I never used private in conjunction with a template.
Let's hope someone more knowledgeable than me can answer this.
More information about the Digitalmars-d-learn
mailing list