From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id WYZhGv+J9GrcQQIAWB0awg (envelope-from ) for ; Wed, 11 Nov 2026 10:30:07 -0500 Authentication-Results: simark.ca; dkim=pass (2048-bit key; secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=KLpeoVK9; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 648F9378002; Wed, 11 Nov 2026 10:30:07 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=unavailable autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 674B21E04F for ; Wed, 11 Nov 2026 10:30:06 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D7A7B4B920EE for ; Wed, 11 Nov 2026 15:30:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D7A7B4B920EE Authentication-Results: sourceware.org; dkim=pass (2048-bit key, secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=KLpeoVK9 Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) by sourceware.org (Postfix) with ESMTPS id 791784BA9029 for ; Wed, 11 Nov 2026 15:29:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 791784BA9029 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 791784BA9029 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::336 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1794410981; cv=none; b=LWwt/kTT0IIjMwMMOIz7b7wEK+rhxprJSmgerSumhEMQ9pSjU1qR7My0FLhbcE5ZDiGBmwM9GWO0aTvZFpkMDM8NUGQwnr7pubOy0Rw7rpkKMXUzq48TpiGc739iIxMfLSSLjkwAU6uMhEZqWIQZKuUEgqAgucxGFb/wTa5MU6M= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1794410981; c=relaxed/simple; bh=MeLrJ2Um9D+eWA6VSaWLejITCZBYzGXYc6qQKDW6Rqw=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=huyLfza60OMjRJn9Gd/D1Asg3OaD7lmKzqf8QqDmqj/yUuvLAavSUqjDZy2YjlNwQp9rQDrUUgpdF6mz2H4pbe5Cj1mnSD1D9fcxrJN0XQ4cjFyyiRuL+GfrPNwH9tee1BZ7qSb5i8tU66a79nevNFf+j0v6/kvfgQCg5olRaAY= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=KLpeoVK9 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 791784BA9029 Received: by mail-ot1-x336.google.com with SMTP id 46e09a7af769-7f84a55cc06so1966823a34.2 for ; Wed, 11 Nov 2026 07:29:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1794410981; x=1795015781; darn=sourceware.org; h=content-type:mime-version:user-agent:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=9S/jL9Qc20k9aEPe/sPhglWC7KgQswD+NcRbCLaipg0=; b=KLpeoVK9U2Mi/aTJ9AOZrGuuNys9pT+F4onQTgVRKfVXJUp3qFAiHLDHnbSpkjHfUp xyLy0HBUbht4gTQOCQNGXUjEJT3K6QMeh1/L+w/rCQMZsX43sQfpQK3PPLDmh0Ts6Wwm uzu0mbFKYM1ppJ6+w8Drc3AcsCyj39/uz8nWnkpPZQdn71Ybl5dVQWLVB4Gd5Nog233o fOwU4t7nIQJkUPuatfDCEf1ZygLseBlnZfsu/j5PsPVxtNBlUdUen0sKHIvSWWtJ0h9o tlwFfsQDA/F7hwblOCWuhLRt8ovDwBBL2ur20g1yCYiECIsJ6Zk9Sqqxg3x55KH/9cP5 FB4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794410981; x=1795015781; h=content-type:mime-version:user-agent:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=9S/jL9Qc20k9aEPe/sPhglWC7KgQswD+NcRbCLaipg0=; b=vZMI9zLI9x5PkmqY0RQzaQVCYsRtFepqJR8rTybC/Sm08HQ0e9JQTsxRCCHosdb0pq qIl+rawgGLpzdbeCK1u25C7i9acMC63+IxOyj3yz01st1CdaUBw7nvexxeCdz52CszFR XO8J5wDog/zJAkZ0E1Vj+ZquMipbaS8OWjKsfei010eOd4BWrh463chnvwwokbPUATw6 /fVMJXaoY73CgxKxu6I7HDkNANiZrDj4MLU9vvslDZKRzl0tiTH+6JjoRUSoZKwHzKHn Bbfie89PCvEG5Yr9kTYOiMJ8KGOl8y6xLH4Jk/KoShQEE0OKdHemNxRbR6hq5fgSelFF TX9g== X-Forwarded-Encrypted: i=1; AL+hErHsf63m6kMrwvTVtDuIG5l/ERbVvt9ixV1JL5WBcwFfulHoeyYCYIl/bEFmy8ChCD6TyLA8mKpdZKoqfA==@sourceware.org X-Gm-Message-State: APuU4Z+dgy5UkM/gEAPJeRqmAhxNDupiiIBD+WyWFmIIbSPmIzX2ON2y g3AWcWYWhvGfgw7nFySdPXO0eB45xWqheHOI7bfXY2jk+caP9cSfUIVGs6/vmfEf3g== X-Gm-Gg: AYBFou2FDb82SiwTWdr+oFUeMeGwylTVTTAcGurY0BxTO8FgR3RCw06OU0Ljj28Xyqd QYAxlvqxylFcaiM0DHl5pZdZPeOH0EQKRucjYOp7zChvQcu6VVGVT9cMA9GMulXjgAGYwzlQwhP eP+nuHhTQOGM+orWahjuikVVTeHc/pE/9awIHhEWdf7w7t94UIYHngiPeD4yq14aBPrqiNFgUbr 38lu1RYGGLKvcUabY8fiHcGsToiAw3noRHr+JIswzFgBODzzmJcmPSgQ3q93xBCP4abthSfDh6u YiAQL+t37kuo4dqBY7vVu8Cr8U4ByyOkf9Tgy0MjTtR6j5afhy+bIksSGvhtlKZSy2NwUKCmB8G Rp45PoIdSu1Wsu7MWboEKiQJxjYRwTDh37JvgeQvW5+nqJMCbQ9M8tcPKst15ciM77242hiMrWs UMjeKIA8l9oRp0GfBvhOoh9QeZMP8tocyRcwt6Lbq/u80/v4BZb8USiVm969+B8cyFlsXDkCxX7 rBSG+Zu7SlYB17jMlaWruVXx3YKHlPeSnqnm4Gy6855GuSNPjHf++eEhqlLRzQYM5TGXFqgNt5L uZUpHtIzlHMgsAs079RZ1gE8kNI1O4735W2Mk1BR7xviBJRVURsH X-Received: by 2002:a05:6830:4424:b0:83c:1efb:6424 with SMTP id 46e09a7af769-860f25eaad8mr2419107a34.1.1794410980754; Wed, 11 Nov 2026 07:29:40 -0800 (PST) Received: from bapiya (97-122-110-129.hlrn.qwest.net. [97.122.110.129]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-860dca42411sm4574654a34.1.2026.11.11.07.29.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2026 07:29:40 -0800 (PST) From: Tom Tromey To: Simon Marchi Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [PATCH 4/4] Remove operator== and operator!= from gdb::span In-Reply-To: <87446ec3-7bf2-4878-9ecb-e20b0705a19c@simark.ca> (Simon Marchi's message of "Tue, 10 Nov 2026 15:28:03 -0500") References: <20261103-span-part-1-v1-0-133180dd43a5@adacore.com> <20261103-span-part-1-v1-4-133180dd43a5@adacore.com> <87446ec3-7bf2-4878-9ecb-e20b0705a19c@simark.ca> X-Attribution: Tom Date: Wed, 11 Nov 2026 08:29:39 -0700 Message-ID: <87se17bd3w.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Simon> Also, maybe the function could be moved to gdbsupport/ranges.h, and Simon> tested in ranges-selftest.c. There aren't any existing tests for this. I don't think I'll write them as part of this series. Simon> While at it (as another patch), we could move Simon> gdb::ranges::views::enumerate to ranges.h as well. Basically all the Simon> functions that are a backport of . Someone else will have to do this, v2 of this series is already long. Tom