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;
```

Reply via email to