C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Proposal | Support for Logical Compound Operators

From: zxuiji <gb2985_at_[hidden]>
Date: Wed, 23 Oct 2024 14:09:14 +0100
How do they even work exactly? Do they just override the lvalue with the
result of lvalue &&/|| rvalue?

On Wed, 23 Oct 2024 at 13:52, Leo Riesenbach via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> Should these respect short-circuiting? ie be a no-op if the lhs is already
> true/false?
>
> On Wed, Oct 23, 2024, 8:37 AM Daniel Zimarev via Std-Proposals <
> std-proposals_at_[hidden]> wrote:
>
>> &&=
>>
>> ||=
>>
>>
>> --
>> Std-Proposals mailing list
>> Std-Proposals_at_[hidden]
>> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>>
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>

Received on 2024-10-23 13:00:21