From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6F6673858C5E; Wed, 8 Feb 2023 11:28:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6F6673858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675855695; bh=6xCm3ADgNNgpGgwVJ+rUbXmC7S2zZBEyACaZtMz5Ou8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=W45FAN4BNi6EE/ry9izXPyzxLZ7jpVBC9ve2pQVJgyI2W/v2O7ZS6rQhavXZ9E/hu 17rp2otQvBtU35noeGpkVWbwDyNal8Ld/Wke4B9wmc95wL3rHmrK2RxHl97T34VYJW 0N2rhmIAH2r95T0FO9O3mt5fSkpAWdE91uMu/Chw= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/108714] Algorithms in require predicates to be copyable Date: Wed, 08 Feb 2023 11:28:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108714 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #1 from Jonathan Wakely --- Not a bug, the standard is clear about this: [Note 2 : Unless otherwise specified, algorithms that take function objects= as arguments can copy those function objects freely. If object identity is important, a wrapper class that points to a non-copied implementation object such as reference_wrapper (22.10.6), or some equivalent solution, can be used. =E2=80=94 end note]=