C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Forget forget let's redact

From: Jens Maurer <jens.maurer_at_[hidden]>
Date: Mon, 24 Aug 2026 04:14:07 +0200
On 8/24/26 00:04, Sebastian Wittmeier via Std-Proposals wrote:
> How about solving it as
>
> std::redactable<T>
>
> similar to std::optional<T>?
>
> It could still be a magic (templated) class going beyond the capabilities of pure library solutions.

I'm ok with having standard library functions whose implementations requires
implementation-defined means.

I'll oppose standard-library looking functions that (for the caller) change
the way the core language works at the call site.

Jens

Received on 2026-08-24 02:14:21