C++ Logo

std-discussion

Advanced search

Re: bitset, the copy assignment operator: a bug in the description (C++ 20)

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Fri, 27 Sep 2019 20:27:46 +0300
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.

Received on 2019-09-27 12:30:08