From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 17DDE385BF9E for ; Mon, 9 Aug 2021 10:33:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 17DDE385BF9E Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-360-Dc0kpjD4MM6yJCYLSIWqkA-1; Mon, 09 Aug 2021 06:33:36 -0400 X-MC-Unique: Dc0kpjD4MM6yJCYLSIWqkA-1 Received: by mail-wm1-f70.google.com with SMTP id o26-20020a05600c511ab0290252d0248251so4479973wms.1 for ; Mon, 09 Aug 2021 03:33:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=6OieNNDvk7K4GWU9a6Tm2FGanGZuolo6bXK5dcidEck=; b=BOEHUYxzHQg+XRlrzudsGiWZmbNzdakNKTbmm78fU/4jAQPYZWOeGiIfnjdentoZO1 Av12eTCqKEn9Lrw577aA0a+ihto6pQkhStsRZv8pHgoN4BA1gz1/a5d7ZHmAjVCPRyrW Rv5rzpCim1f1HCCI64ZehJbTHg8VhnPSR4OJj8TY0QcgMRrGN/x/u0cURCbmQdoKoaze dws6b8Al4bgnvQGUUm1LXCriwL9S73VHkV+SQy+93MqjOEBy/1mxcsms/8Y+Lh9aq8wf nqL93tWAbw1II2lw6MOFDIaV0xrLrF4CekvcgtAvWsKQKL/SiUAIFScF0BGM/+g0AUr4 8gGA== X-Gm-Message-State: AOAM531AYPpUp1qNBdKjYcFsEnPaR1t85hgKKNa1cHIO8voS+sXSUbXt wNY8qWHafGKn3OZw9+gaILT9gxTUosh9OyF3w6eHBmUca3dgECY3v9ZbGA33t4vecUHwjTaQxI2 2dmtq4c/Hob6qMUxrRHkhGocszh6El6Y= X-Received: by 2002:adf:ee51:: with SMTP id w17mr23505918wro.279.1628505215490; Mon, 09 Aug 2021 03:33:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSQgh9za1zx7nFFYb5MTdzupnpnP6npdJeajl99y7unOpxiA0jKUoIFTf5EDbcW6rSBOHhIuPV59R/MH600gE= X-Received: by 2002:adf:ee51:: with SMTP id w17mr23505903wro.279.1628505215332; Mon, 09 Aug 2021 03:33:35 -0700 (PDT) MIME-Version: 1.0 References: <6edc763b-e463-a676-0232-7b2193fb403b@gmail.com> In-Reply-To: <6edc763b-e463-a676-0232-7b2193fb403b@gmail.com> From: Jonathan Wakely Date: Mon, 9 Aug 2021 11:33:24 +0100 Message-ID: Subject: Re: [PATCH] Avoid allocator operator== in _Safe_container To: =?UTF-8?Q?Fran=C3=A7ois_Dumont?= Cc: "libstdc++@gcc.gnu.org" , gcc-patches X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2021 10:33:39 -0000 On Mon, 9 Aug 2021 at 11:26, Fran=C3=A7ois Dumont via Libstdc++ wrote: > > Some newly introduced tests in > 23_containers/unordered_map/cons/default.cc revealed that we are forcing > the allocator type to have a operator=3D=3D. All allocators are required to have operator=3D=3D so that should not be a problem. What is the error?