C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Translation-unit-local functions that access private class fields

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sat, 20 Jun 2026 11:22:46 -0700
On Friday, 19 June 2026 14:21:10 Pacific Daylight Time Steve Weinrich via Std-
Proposals wrote:
> I think this is the correct approach. And I agree with no PEM’s in header
> files.

You can't prevent that. Therefore, design it so they are permissible and work
under sane circumstances.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel Data Center - Platform & Sys. Eng.

Received on 2026-06-20 18:22:56