Filter for opDispatch?

frame frame86 at live.com
Sun May 16 04:45:26 UTC 2021


On Sunday, 16 May 2021 at 04:38:52 UTC, Mike Parker wrote:
> On Sunday, 16 May 2021 at 04:07:15 UTC, frame wrote:
>
>>
>> But the same with fields work? They are also protected.
>
> I'm not sure what you mean by "fields" here.

```d
protected:

// inaccessible
/*
void s(int v) {
   _s = v;
}

int s() {
   return _s;
}*/

// no problem here?
int s;
```


More information about the Digitalmars-d-learn mailing list