C++ Logo

std-proposals

Advanced search

Re: [std-proposals] return if

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Thu, 15 Jan 2026 10:58:59 +0200
On Thu, 15 Jan 2026 at 10:52, Frederick Virchanza Gotham via
Std-Proposals <std-proposals_at_[hidden]> wrote:
> because the following fails to compile:
>
> struct C {
> operator bool(void) const & = delete;

..as if someone writes code like that, or in any significant numbers.

The idea continues to have insufficient merit, and isn't an
improvement over what we already have.

Received on 2026-01-15 08:59:12