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 ESMTPS id 72C263858409 for ; Thu, 16 Feb 2023 14:10:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 72C263858409 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676556627; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=elKNEPoK0tQIlUTAXzh7RJ8OLYiwqX8kIbKlv1M6V80=; b=Rw7VBtpyXwMymcGuUPg6mSzurzdKWzJpvNmI8lPfqxxCy34G9e3WogN6gZ8RRmyQdpqufO U9Ldr+PQWmpNMDMfLBZK14qjLymICspz46spdZ+OsveeC6iyAKCQdqVL2dgKYksYBsV7K6 DY3gNe0Tk2kerlECBPPl8n31JUEyAK4= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-654-5qrXOgQ_OjWfOYflUxMgLg-1; Thu, 16 Feb 2023 09:10:23 -0500 X-MC-Unique: 5qrXOgQ_OjWfOYflUxMgLg-1 Received: by mail-lf1-f72.google.com with SMTP id i13-20020a056512340d00b004b8825890a1so918925lfr.1 for ; Thu, 16 Feb 2023 06:10:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=elKNEPoK0tQIlUTAXzh7RJ8OLYiwqX8kIbKlv1M6V80=; b=20VpJ2hXOvTzKKniC594nHv71gqjtJasgRq6tJoJPl1oIIHBEJ70evLTnv4xiyQTc2 VK9Mpa8sr6KHfbbGOVB4iWGe4o2u8sWrcbVLPassXltMG6Hah9Et/zWsE64mRCKQQ/kC y3fmyE5nb2cbJaP1juVQzDQoKbOBQDRh8V7NWgUy4coZTQv0IAQ789ywhR2rqjLghDJe EeuiDcuCB4S546gjdwKhMiOPr1OwfcCt/HodecgQDKrXzJQex5NFvnABYQMzf8V8AAOS G6VKGWVPWKWKTIT8X8Y53FeHDcN3ijQkZvPf//0rZJgo1w11UHiUZyuO0clZ2T2vWJaO L6Cg== X-Gm-Message-State: AO0yUKW9a/7bnD0Uz9GbtzFTCOQ56jRkznVKRbo7KFkvhb5nrwwQVZR1 xppr/w1IubEC3FlPWYSkcuZWzOWijaEXvuPByM+6YgI8Vhfa3JjiGoL3bQvMMUDgvWP/VlPOxcO wEYHc6lbYxESSx+tCi/DdZxhIYrB7HAU= X-Received: by 2002:a05:651c:1987:b0:293:5355:7664 with SMTP id bx7-20020a05651c198700b0029353557664mr1098030ljb.1.1676556621889; Thu, 16 Feb 2023 06:10:21 -0800 (PST) X-Google-Smtp-Source: AK7set/TONCMUX5O9POoLLz6Xra+hitZB/3wyBn8AjKUm6IMWuUm+aqM11NSY8JfKcx4iPq9TVovVKMOt0ahlH322GE= X-Received: by 2002:a05:651c:1987:b0:293:5355:7664 with SMTP id bx7-20020a05651c198700b0029353557664mr1098024ljb.1.1676556621624; Thu, 16 Feb 2023 06:10:21 -0800 (PST) MIME-Version: 1.0 References: <3238840.44csPzL39Z@minbar> <9083131.CDJkKcVGEf@minbar> In-Reply-To: <9083131.CDJkKcVGEf@minbar> From: Jonathan Wakely Date: Thu, 16 Feb 2023 14:10:10 +0000 Message-ID: Subject: Re: [PATCH 2/7] libstdc++: Annotate most lambdas with always_inline To: Matthias Kretz Cc: gcc-patches@gcc.gnu.org, libstdc++@gcc.gnu.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Wed, 15 Feb 2023 at 20:50, Matthias Kretz via Libstdc++ wrote: > > > > All of the annotated lambdas are simply a necessary means for > implementing these functions and should never result in an actual > function call. Many of these lambdas would go away if C++ had better > language support for packs. (I hope we'll get p1061 for C++26.) OK for trunk. N.B. I noticed some pre-existing cases of a non-reserved name "Parts" there, which should be fixed (separately from this patch though).