C++ Logo

sg7

Advanced search

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

From: Peter Dimov <pdimov_at_[hidden]>
Date: Mon, 11 Nov 2024 13:23:06 +0200
Ville Voutilainen wrote:
> On Mon, 11 Nov 2024 at 05:51, Dan Katz (BLOOMBERG/ 919 3RD A) via SG7
> <sg7_at_[hidden]> wrote:
> >
> > Hey Peter,
> >
> > As far as I understand, Ville is proposing to add new functions on top of
> those already proposed by P2996 -- Ville, please correct me if I'm wrong.
>
> That is correct. What I am seeking is a standard library API for reflecting on
> various properties of C++ programs without breaking through access controls,
> and being able to see that access controls are not broken through.

In that case, I take back my strongly against.

I however do not know of any scenario in which a program would need to
do something with the set of accessible members. So having a way to
obtain that set doesn't seem useful to me.

Received on 2024-11-11 11:23:11