C++ Logo

STD-DISCUSSION

Advanced search

Subject: Re: bitset, the copy assignment operator: a bug in the description (C++ 20)
From: Ville Voutilainen (ville.voutilainen_at_[hidden])
Date: 2019-09-27 12:27:46


On Fri, 27 Sep 2019 at 19:55, Vladimir Grigoriev via Std-Discussion
<std-discussion_at_[hidden]> wrote:
>
> In the description of the copy assignment operator of the standard class std::bitset there are used a wrong logic.
>
> 20.9.2.2 Members
>
> bitset& operator&=(const bitset& rhs) noexcept;

That's not a copy assignment operator.


STD-DISCUSSION list run by herb.sutter at gmail.com

Older Archives on Google Groups