C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Limited friendship

From: Jason McKesson <jmckesson_at_[hidden]>
Date: Tue, 6 May 2025 20:58:01 -0400
If a class is so big and complicated that it needs to grant access to
specific parts of its interface, but cannot trust those
types/functions with access to *all* of its interface, then I would
suggest that the class is doing way too much and probably can be
broken down into smaller components.

Received on 2025-05-07 00:58:13