From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) by sourceware.org (Postfix) with ESMTPS id 3B49F3858D20 for ; Tue, 27 Feb 2024 17:36:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3B49F3858D20 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3B49F3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::12e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709055389; cv=none; b=vAu/rmrjfaffMkWKQp350+pNLXFjY1dnI+JPVo4JdTWZ9Nox7s6Cx8l280Ev6Tom6gcQ9RHL2KQVcIhIlElkshppRR6HQ0p37bagjYENbm6i8INqKFrsXrOERL4bLKk94KfPohOWf6gSWczipmjlRLrZOKuJkfKI2euiaJAHtzs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709055389; c=relaxed/simple; bh=a56I82fzfl9Dx1WnmwNrNXXn6GQL2xar48khPa4WpTk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=mxnWj7wLOzDMv2MLG9BTTH/orZB3WKFlBNPij+LmzfaTubsVCPALZJ1owgto/8iIfC7ZTvBcO9oph3WfnH87mZyZNnFsI6OJybqZJKTMUgonKDChgV4kZ8xDFlaqJde6bBYdIuslK0fFOOPI3+3mMhPrCtpts8DaMMhvWwd9mhg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-il1-x12e.google.com with SMTP id e9e14a558f8ab-3650c7e0dd2so11908495ab.2 for ; Tue, 27 Feb 2024 09:36:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1709055387; x=1709660187; darn=sourceware.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=m8z9Ia0Sv7D5Zubxy/5/+QJvIsMKuCD/9dJQuFBBAPU=; b=HH1DGSYz6Nk9So8qlv+QbqT69Hs9GrlD0mihtLn8r/J3jZUjN2XRd1Qk5Eyi0/Y9CS UkLVgkcCnmN8vfSaX+PwjICTyJjoM19Nux4sv7iqzrSSLuN1nHXJLyn1KMDPgC1wzypL ksu058WgjjhUAmUFbKwYBCfso5gjL4UUAGqD2SYE6Nbkna2HewgdRoCCZiLUSWPpJ7W/ 5uAJ6bw2lDdmCc5rawLc13O8xSiS0lIScdsYoe758S7JtG9rY/YERtptzPRc6s8IVbiP Xzc9ZoIGpf9cRRYLBgFm+vGQTm7ebofngk+sA/cA3powZwmdJakpbqqEF3Cr+ZxsvnZS +8Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709055387; x=1709660187; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=m8z9Ia0Sv7D5Zubxy/5/+QJvIsMKuCD/9dJQuFBBAPU=; b=Eg0FFaHvDNQ6ftBpUc5rLzBSNnv2PFeGW1Efywcv3Z2WYCiNxUPdjzczBtoSog0b6a RVVA4kyPmGGATlpAAlh3TRBlQyHtVs//V3/BMhP+ILElJ4sHdleciWy7v9lYdyfeXhLA QFk1ZcjoRRUk/D1X8iZT3kVR8fwNDZCrWazrvuuAV7CRZO2bnwAM/WGJ4h+D/rZZL89u xR5YON5NADQzr5IDESmrVfEsabSgGprEwkpQVAouLX1xNtNBLzAyXV/QieQX42KyNYRI w6zxF9OEsb/mPVFoKW2UyxugsCyLbs1KCMdkurwImznxt0kqmnxLju6kWkjpldwiyFWu b7Zg== X-Forwarded-Encrypted: i=1; AJvYcCXVXlcz9IOZYlyaGlyO4lNZa0Y3ODGPftqA6mXiIkpeewQF1NgzE1DS6SopyKh7tHEak9rubiiNyLtc9bdHHBm50mQ8YtPbMWEMnw== X-Gm-Message-State: AOJu0YwsbOIJkEMvCP1BbAH7uCwCv/CT3qkEaAIzQlpUBiC5yhQZ2Lfi /5+BDCHbwI66uX4uhuCvNOEXEcP0j90Zm1uDzWdW1oTw0DXRtjIGvZhiKCsZCg== X-Google-Smtp-Source: AGHT+IHiiAZ0mr1qPAAqrHBlkObelfaYCx45QnFDXG+nA3y8SLMfku0zMa5CiBGMURZpkOh+jrOv1g== X-Received: by 2002:a92:d152:0:b0:363:dfc7:acc1 with SMTP id t18-20020a92d152000000b00363dfc7acc1mr11531672ilg.2.1709055387509; Tue, 27 Feb 2024 09:36:27 -0800 (PST) Received: from murgatroyd (71-211-170-195.hlrn.qwest.net. [71.211.170.195]) by smtp.gmail.com with ESMTPSA id k21-20020a02ccd5000000b0047158a50c8csm1848671jaq.133.2024.02.27.09.36.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 09:36:27 -0800 (PST) From: Tom Tromey To: Tom Tromey Cc: Lancelot SIX , gdb-patches@sourceware.org Subject: Re: [PATCH 1/5] Rewrite final cleanups References: <20240223-final-cleanups-v1-0-84d5271e9979@adacore.com> <20240223-final-cleanups-v1-1-84d5271e9979@adacore.com> <20240225223034.l6gnzbamvivyzuyu@octopus> <87msrnvyz4.fsf@tromey.com> <20240227140331.cavxavrv4uoz4cdr@octopus> <87edcxvmul.fsf@tromey.com> X-Attribution: Tom Date: Tue, 27 Feb 2024 10:36:26 -0700 In-Reply-To: <87edcxvmul.fsf@tromey.com> (Tom Tromey's message of "Tue, 27 Feb 2024 10:27:46 -0700") Message-ID: <87a5nlvmg5.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Tom> ... and also a C++17 meta-bug, and various C++17 to-do items I've Tom> thought of in the past. ... wanted to add on to this. I think Simon had some other ideas in this space, though I don't recall them offhand & couldn't easily find them. My notes say that I thought we could use CTAD somewhere, but I couldn't find the spot I was thinking of. Also we could use the [[maybe_unused]] or [[nodiscard]] attributes. I didn't file bugs for these but I suppose I could... somehow they seemed less well-defined as tasks to me, like when would we know they were done. Finally, I also looked at using std::invoke in expop.h, but it doesn't seem like it would really simplify the code that much. Tom