220 38669 <CANh8DEmbut8C5Q7VxsDqjwWFzMyEEFYz6ARNMbBPD5KKmOaJCg@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: "'Matt Calabrese' via ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Three way comparison of arrays
Date: Fri, 15 Jun 2018 11:54:44 -0400
Lines: 50
Approved: news@gmane.org
Message-ID: <CANh8DEmbut8C5Q7VxsDqjwWFzMyEEFYz6ARNMbBPD5KKmOaJCg@mail.gmail.com>
References: <d50deead-c460-414b-b356-a398772b8f69@isocpp.org> <CALvx3hZQ4CMYBRfaQegK64d2JzLk0LS8y3u04id0Arbrgo2WKg@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="000000000000bef21a056eb03ca1"
X-Trace: blaine.gmane.org 1529077976 23168 195.159.176.226 (15 Jun 2018 15:52:56 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 15 Jun 2018 15:52:56 +0000 (UTC)
To: "ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCGNLO5F34OBBUGCR7MQKGQEVXV5TBI@isocpp.org Fri Jun 15 17:52:52 2018
Return-path: <std-proposals+bncBCGNLO5F34OBBUGCR7MQKGQEVXV5TBI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-it0-f72.google.com ([209.85.214.72])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCGNLO5F34OBBUGCR7MQKGQEVXV5TBI@isocpp.org>)
	id 1fTr1q-0005mg-Ak
	for gclcip-std-proposals@m.gmane.org; Fri, 15 Jun 2018 17:52:46 +0200
Original-Received: by mail-it0-f72.google.com with SMTP id m12-v6sf2175257ita.6
        for <gclcip-std-proposals@m.gmane.org>; Fri, 15 Jun 2018 08:54:57 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1529078097; cv=pass;
        d=google.com; s=arc-20160816;
        b=jt9HF4ydWsM1veNk3elu83yXTYo9Qa2Tp+fNv4/RnpivPz1ckfIScbMnKvVfo35YZ8
         WIn8SN5h3jDft/OIVNLHPe9cjprMHfcIUl85a7zuO4m1mZjQQWALAqcvGmAP96qBIXp5
         wbx+nqCRNHlYXnZz9B0QeMbzQjCgjLA12wQCcfp3klWIV2cGW/l8yqHzWOKHIdf+e1e0
         iFjTzuUU11MIi1N419/EAlxweDbacGuljLONNkCY7KvT8BVtzNTSoVYIk/FEI8Ke4rqj
         7pcAjFzhVt7VqOsWRHvjozENQ5oMJ2MbyXjtiZ8qN4+YmvTg0hRCWVJmoqhOrhgCgzwk
         mXjg==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date
         :from:in-reply-to:references:mime-version:arc-authentication-results
         :arc-message-signature:dkim-signature:arc-authentication-results;
        bh=6Gln1A8OSmnm1swFouHpE9FFziCpF3DliIMOgIjG7ZA=;
        b=y6fyAfLhSkIXhZlmyNtQQp1B2mku4Dp3kWxnw0p+OgBtuh24o8fiofh9zC+6pWNrDF
         uVpgDAUvL/PHOE4iKC+QjqAg1xlINY0zHvShne9oAweC7ob94nDOzXko3aw4ANIFOWqO
         2RhYJd2fNl1+k4PCUkb8xAWTQXFSUQlrQ10XbXZ4h30eDCfPBcAZx6dDsc3Bo9RX2ODz
         Wu950zpDnhZEzHhr2nCiRDQsuQ1fTLkewEI/K8Fl6zBwU7kgcb2ngZqV7T2Xg3aAOVC0
         5lZq1wiDQExkiBO+C9qt9Nb/aXZXlRbfCbAIfKrgrtoN4grh7xTpQnlfm8IkGRSJBJ/h
         BnSw==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@google.com header.s=20161025 header.b=AGc1Wcn1;
       spf=pass (google.com: domain of calabrese@google.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=calabrese@google.com;
       dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:references:in-reply-to:from:date:message-id:subject:to
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=6Gln1A8OSmnm1swFouHpE9FFziCpF3DliIMOgIjG7ZA=;
        b=iRXAaNPUZ4ofcBB09FeFjFxg6FYk7v2vhQiqfTwpRjqrciuZim8/vaxw/UDnv1NYUP
         foiHuabKNftOKuyAb5j5rAq8CTGJzV8pQ/3bTWCmaRWTuM9VhOeFc0VAWcNKrHnTsCx1
         2YeoOkf3oEgDAmFRNJ7Y6VCfLMpUB90rY1lb8e3XSP9vU1cOSgtk0B+EkhG0VWOwYGQW
         4Jg7ivqkR0Vu/XcTNfc1uZqW+kHRebJttxaCs+Q70QlFjJz1tRFQXoVmxiliCVnIRNsG
         O+ElSUtCaEQ2RBt+7Y9C1YU7fcOZec3hjomjG9UvjU5yWKLUhEiv4BtRFNtMBWxFy9R/
         hsVA==
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:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=6Gln1A8OSmnm1swFouHpE9FFziCpF3DliIMOgIjG7ZA=;
        b=g68tot8VYhoDg9NCBVwUiN0LL4f7wU5k6rX6yagG6KINh3du8l7TpJvJGmjBeHSpYa
         E/GeaP6VgFl6dud7mkDYtwyFH11oOsRkEy+PEILuRgv5dDiu6kLSzIMDA0J0DuStBHff
         9EgKZYVmwNAUSJjTXwy5VU3QJVdBBtnWmFC5nuxiSpZ+GOJtWajZKee4YoDXekuBciud
         2EIsb957nLRxmA6BGuRRGJm9Of+qgZNgmDW7PW/MZpbUXv/Whn8xR0MIzRzH7KrtwxvV
         jQymd0tqzoW1aE9aBqHH30AYrSBntMvX1UIPIV799q6s2JMZ+AjQmOgQibPpDU6FJ+hr
         wvrg==
X-Gm-Message-State: APt69E2ejzpmvvPwlaLp3iNdXtZfv8KxFMB1MmolvRDZpCPuQoOcB9qo
	9DIqZE/5scjdRyo+Ic102sw=
X-Google-Smtp-Source: ADUXVKKtIyxtYtc0D206Oxl7WJTnepyrhzBc1M+wZ2cgOZJUBpQyohTlZIl1GTIPqoJ80+t1By065g==
X-Received: by 2002:a6b:f906:: with SMTP id j6-v6mr802419iog.29.1529078097463;
        Fri, 15 Jun 2018 08:54:57 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a24:1f84:: with SMTP id d126-v6ls382068itd.5.canary-gmail;
 Fri, 15 Jun 2018 08:54:56 -0700 (PDT)
X-Received: by 2002:a24:fe01:: with SMTP id w1-v6mr1792863ith.27.1529078096655;
        Fri, 15 Jun 2018 08:54:56 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1529078096; cv=none;
        d=google.com; s=arc-20160816;
        b=oW/1WnVDIYlej/fTvf3ExtjZ1bKS4OczQxeSGLBxytfU1Kz+R3ezY/PBOMNqzbNcU3
         QtgPJhZOYw14+JjyPbjP8/XxRzfBz6K0zyPvqQOwAh5L7N1NOvSsAX2ZRhcM2Ogy1ZpA
         HixRSzPgr6lfIdkqibvxbpESVycR8tUhyrHrL8/6u6N0spcjISmKs9FUWwV8mnajAN7V
         yncledubCwfFLa0EH8am7i5ovwytpoPaPty8TteUBKSvL327dGwApFmEQ7BAHmzM4BJq
         BrlsWcu4R2PDj7PsG0/cxgrlQhjGE4FNocNkhUOJgHMdzu3NgX3OjHLUUO+U4VcK4pPK
         VKlQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=to:subject:message-id:date:from:in-reply-to:references:mime-version
         :dkim-signature:arc-authentication-results;
        bh=Yk1Q1H9WJ4Fe0lq2cnRi+dDtFfLFNX/1NpNzQnNo60A=;
        b=LFZJHl/UZKou9bAOd4GHjA5Ts1PRy/RoksDTkUWKnC/dJVIdxuZ+8IkJuDT24CX0r4
         Bq79ij9vgf1bkDlOvaEIHpJLswDQ7BvEGL6bwqWij7A8FDF30KV5Sp+dV9LuZQwM0KtE
         +Y4Dfj7uMU81qjKu0FUg+5391FzTvxnA6KCEVs+HMaSksu8vacwx7LNU/yE2Q4C0NnMH
         PtkDEHOJflql0wok1shlY7Y0mHgBiqJJMVJZpu9IQJ+CBe1XaSme3tt1NRdbOXcX0Y+g
         sZbK0pbwlOPFEwRbnprsA6UVV/1qIWyUB3Gi5P6UqJ2aRsWXjDHGM/AzCqjjxa6XCa3a
         El6Q==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@google.com header.s=20161025 header.b=AGc1Wcn1;
       spf=pass (google.com: domain of calabrese@google.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=calabrese@google.com;
       dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com
Original-Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])
        by mx.google.com with SMTPS id v20-v6sor959862jah.93.2018.06.15.08.54.56
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Fri, 15 Jun 2018 08:54:56 -0700 (PDT)
Received-SPF: pass (google.com: domain of calabrese@google.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 2002:a02:6d4d:: with SMTP id e13-v6mr1363736jaf.64.1529078095958;
 Fri, 15 Jun 2018 08:54:55 -0700 (PDT)
In-Reply-To: <CALvx3hZQ4CMYBRfaQegK64d2JzLk0LS8y3u04id0Arbrgo2WKg@mail.gmail.com>
X-Original-Sender: calabrese@google.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@google.com header.s=20161025 header.b=AGc1Wcn1;       spf=pass
 (google.com: domain of calabrese@google.com designates 209.85.220.41 as
 permitted sender) smtp.mailfrom=calabrese@google.com;       dmarc=pass
 (p=REJECT sp=REJECT dis=NONE) header.from=google.com
X-Original-From: Matt Calabrese <calabrese@google.com>
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:38669
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/38669>

--000000000000bef21a056eb03ca1
Content-Type: text/plain; charset="UTF-8"

On Fri, Jun 15, 2018 at 11:52 AM Richard Hodges <hodges.r@gmail.com> wrote:

> Comparing two std::span will certainly work, so for generic code you may
> want to consider providing overloads/specialisations for span rather than
> c-array.
>

Heh, don't be so sure of that ;)

-- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CANh8DEmbut8C5Q7VxsDqjwWFzMyEEFYz6ARNMbBPD5KKmOaJCg%40mail.gmail.com.

--000000000000bef21a056eb03ca1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr">On Fri, Jun 15=
, 2018 at 11:52 AM Richard Hodges &lt;<a href=3D"mailto:hodges.r@gmail.com"=
>hodges.r@gmail.com</a>&gt; wrote:</div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div=
 dir=3D"ltr"><div class=3D"gmail_quote"><div>Comparing two <font face=3D"mo=
nospace, monospace">std::span</font> will certainly work, so for generic co=
de you may want to consider providing overloads/specialisations for span ra=
ther than c-array.</div></div></div></blockquote><div><br></div><div>Heh, d=
on&#39;t be so sure of that ;)=C2=A0</div></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/CANh8DEmbut8C5Q7VxsDqjwWFzMyEEFYz6ARN=
MbBPD5KKmOaJCg%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">htt=
ps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CANh8DEmbut8C5Q7V=
xsDqjwWFzMyEEFYz6ARNMbBPD5KKmOaJCg%40mail.gmail.com</a>.<br />

--000000000000bef21a056eb03ca1--

.
