C++ Logo

sg7

Advanced search

Re: [isocpp-sg7] [isocpp-lib-ext] [isocpp-ext] SG7 late paper P3493R0 - Ruminations on reflection and access

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Mon, 11 Nov 2024 17:03:12 +0200
On Mon, 11 Nov 2024 at 16:59, Alisdair Meredith <alisdairm_at_[hidden]> wrote:
> The domain of reflection goes beyond the domain of application programming, and serves needs that would be in conflicting best practices for different domains. We must support both, but there may be good questions raised about which has priority as the default interface.

I'm not here to debate what should be a "default". But claiming
support for the access-obeying code by saying users should
just reconstruct the language's access checks by applying the right
kind of filters in the right places doesn't cut it. Especially
when the paper doesn't even have the right kind of filters to do the
language's access checks for protected non-static members.

Received on 2024-11-11 15:03:25