220 41497 <CAEfefmyLGpro2-yAcrdUZjeO4PmtQUAwrHSp1dHSrcWewmi=Jg@mail.gmail.com> article
Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail
From: Dejan Milosavljevic <dmilos@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Anybody interested in reviewing
 draft/presenting "anti" spaceship paper?
Date: Mon, 25 Feb 2019 12:18:10 +0100
Approved: news@gmane.org
Message-ID: <CAEfefmyLGpro2-yAcrdUZjeO4PmtQUAwrHSp1dHSrcWewmi=Jg@mail.gmail.com>
References: <544de10d-be39-4c83-a211-b888a34724c3@isocpp.org>
 <c4244615-6097-4d4c-a87a-4b435911b8a5@isocpp.org> <CAANG=kUrw1PT-8is=xze4so=pXsjf+Q1Je6Be=u3NonaQi2zQA@mail.gmail.com>
 <f699812c-8fc6-4080-9eaa-0ff339fc2917@isocpp.org>
Reply-To: std-proposals@isocpp.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="000000000000316c0b0582b61906"
Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226";
	logging-data="63863"; mail-complaints-to="usenet@blaine.gmane.org"
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDFYFDOFWUGBB745Z7RQKGQEWFK5B2I@isocpp.org Mon Feb 25 12:18:25 2019
Return-path: <std-proposals+bncBDFYFDOFWUGBB745Z7RQKGQEWFK5B2I@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wr1-f69.google.com ([209.85.221.69])
	by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.89)
	(envelope-from <std-proposals+bncBDFYFDOFWUGBB745Z7RQKGQEWFK5B2I@isocpp.org>)
	id 1gyEHB-000GS3-6f
	for gclcip-std-proposals@m.gmane.org; Mon, 25 Feb 2019 12:18:25 +0100
Original-Received: by mail-wr1-f69.google.com with SMTP id f5sf4733617wrt.13
        for <gclcip-std-proposals@m.gmane.org>; Mon, 25 Feb 2019 03:18:24 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1551093504; cv=pass;
        d=google.com; s=arc-20160816;
        b=gfOyvaeNz3vydj78jg5DxqWufFv5eVkOIwqktaJcg4+7lDu4rp0PV3uwcT5Kd52W6f
         FsJ6xrbSwyxabbIdaIQt9lLQ0arF41Q8LbIcyAXfux+UMBqoN62goIVLEJPZAI9DoVJV
         r8xEZKcu8HcweMFHomsmqvI/q48wKfMOXpVoWmmUhAcublMegpTPO5gxn3CqUwbT9CDx
         qc4sZ205hrPgbpFfZs0tTlD63w+6G4yQH2pc7xV0jt7911PExdjbw6vwIb5tiLCKz6Zt
         D+5CjGwes5uneiAa7e3Ph9zwsbJ33OSnXYhoFr9mm6QLcjC//iTxklbL3paNo6k2Mbnl
         daEg==
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:dkim-signature;
        bh=9NkXNY6DsjSYHbVuHbpmhnvAoI7izFmSFc+b9lblHMc=;
        b=BZqicHNL19B4aQiKWYpoNQDMAKQmJLL1Jl+cUl2MGGJXeWTdEeM665DyceK//QScQd
         7Jyb09w8mjr/wIiaoBYw0ryXSjNRh5qdbkEnvU+OJs2C7ApZH18LpN8KdHsC68jIhgO2
         L206soBgBEjyl68FkUMAtyzC6+WG1bMqVeVVkEv8PvR3DXIK2I77tu6EWY7Fy7m26i4W
         5ZsYlCkKBKa2T5YEsYQHnPU4KPbQ9hsV6QgvysbaAHn+rj/86wARsYNY5AdBdccy2GwA
         zCEowSykRrq8ft/qNq8lV9RMf3DRnsw70gBcnwsC84POdtCKo+I7Nk5OiNvc4oY/0bRj
         rarA==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=dN8zaahU;
       spf=pass (google.com: domain of dmilos@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=dmilos@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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=9NkXNY6DsjSYHbVuHbpmhnvAoI7izFmSFc+b9lblHMc=;
        b=FlgrNZ+4uu7kpQZ6KYaj5weeLm1JCReljNwFd3IVVyrBSP7ItzBneP5cyU6d87Hlv7
         5MfWu93++Rfm+gDB8VIV4w9bKuxNNO6doE46U2D3+yNAb1yZjtt/95ZcvqWnPHYM2orR
         n92wx1Q3DLYTTcaagwG4SyvIKsOsGZkFKRtUFuHWy4K96RoTs8UaceXbSCQuW2aJBYaj
         8Ekb631B7UvD58s/6lOTp7twF64Gg89p1Bz5pAOrBZJHuTjJnA8OEeL8qwBHoMo1ddrz
         /fR/gZCvGXPHWiMAls6DHU6wlE8LlIJtfKYQwUv7BdI9H+3q8eBwAwrHlJU92drx9C+A
         vpGw==
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=9NkXNY6DsjSYHbVuHbpmhnvAoI7izFmSFc+b9lblHMc=;
        b=S+qzjwfpYMmJ3ouiqnnSX2jK7gKvit9mtx30hWmEq2/KbfrEdBnBzHRaeVAvOKuGso
         +5umFSIqR5R4Eo9+WYLCo9sEa3OCcSthz/z624Dmmzao+EErrqcpdEniF2jhvl/+AEBW
         5teI6tyL+5YdIdPFm5kLI9HH7RZjCQ8+5S6Vh52B6i791dJBMM4dANrxohnIKAGPppCH
         mZjy7PARP1BTmGNMF1ja6yP/0E2JJQsEIh9d0Gb7I1xhDJwra3vnuU3SxvEM0VkdBmFI
         smH1DbGPXUhAjZumnq9fx7quUOrLsEji9avgnehaQ5B8Qhi1TBmJKDPOBb/HbmK6Ygi6
         D5WA==
X-Gm-Message-State: AHQUAuYLnID0Bm6OdvdzmGcheLkc6ggGxx7EzKoab2TX8O3fz57BWm9Y
	wqNcOLysS/KYYNKrpK/TAByeuQ==
X-Google-Smtp-Source: AHgI3Ia9rGZLstYo3oDz6hyZK99NqfnHoyN9xdfWYuqcPk2dxoUkkprL4llFFO+4ZDodTIrAj+JwBA==
X-Received: by 2002:adf:f08c:: with SMTP id n12mr803016wro.7.1551093504380;
        Mon, 25 Feb 2019 03:18:24 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:adf:8241:: with SMTP id 59ls2063037wrb.5.gmail; Mon, 25 Feb
 2019 03:18:22 -0800 (PST)
X-Received: by 2002:adf:fec6:: with SMTP id q6mr11273134wrs.294.1551093502468;
        Mon, 25 Feb 2019 03:18:22 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1551093502; cv=none;
        d=google.com; s=arc-20160816;
        b=L6lgffbWeKemAFVnjG9u8/WvT9JFRjbcchGzfEdbcpStPx/Dfv0+BlGnfMi0DkgUmf
         wA5GHoIa2jkht+5yrakyuY76pX4YRKMXqbAmWjkCwfWEXwH/vcA005jJseFryt4I3Ce6
         qpNObwAG/4iwhprodqhFfmB25wO5RgUK6unFpHHwTdAkcRGQHH7BmXzCPpJNFtw3XTAs
         oakWS9onbvcgU4zoBjfqlOATCgTSbAmkBGpydDEPuYaviKlhkPTEeYLIRwlU46iYthIV
         FhcbLkwlaQa8DTeGPtCZi4K2PEP8yBI9l+7ssHrqgXV/92S6r9DcAKGfjAy/eFHKeQm5
         nomQ==
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;
        bh=Vfh4F2Gqrhh0gJFTybFux9sFhb7NWZFu1EfwLdSVBS0=;
        b=gZtQKhyUeugSCrZEuB8ZPuIBNQb0SpyNpTUgWqFGROu4TqtcST6wughq0iI5BAEguM
         qiugJHA0UI3Ht3Mbnd2pogsYNn5xtPTCsU02K0A/pwdOPgIGNGqiWsuV9aY9PtzDfcaY
         7l01Yjfa2/T1SFupPNeNg5I1NSkTsNn0efnIZu6VljxN2RudeTRGVczkMHRluen+6xLu
         VZaOGq4f1r8/tplcnjKHS0dks+xDqPYMn7ZuWgPZJeWknarev8BWWNYUAeB/xC4deAZq
         059qsDzrJePuNOFb1kGFrGhHGudTHtCjfJRgqv4r3r6muwYe67afZrl88dOffnHOmLdE
         qPAQ==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=dN8zaahU;
       spf=pass (google.com: domain of dmilos@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=dmilos@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Original-Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65])
        by mx.google.com with SMTPS id l17sor5797120wrt.6.2019.02.25.03.18.22
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Mon, 25 Feb 2019 03:18:22 -0800 (PST)
Received-SPF: pass (google.com: domain of dmilos@gmail.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65;
X-Received: by 2002:adf:dd8a:: with SMTP id x10mr12805532wrl.117.1551093501880;
 Mon, 25 Feb 2019 03:18:21 -0800 (PST)
In-Reply-To: <f699812c-8fc6-4080-9eaa-0ff339fc2917@isocpp.org>
X-Original-Sender: dmilos@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b=dN8zaahU;       spf=pass
 (google.com: domain of dmilos@gmail.com designates 209.85.220.65 as permitted
 sender) smtp.mailfrom=dmilos@gmail.com;       dmarc=pass (p=NONE
 sp=QUARANTINE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <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:41497
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/41497>

--000000000000316c0b0582b61906
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Agree to have three-way operator.
Disagree that this operator should be consisted of <=3D>.
Tilde might good candidate or double tilde. Hmm scratch that heavy collide
with bit not.

Probably I miss something.
What is literal name of this operator?

From my experience  'hello world' should be

switch( a spaceship b)
{
   case(1): std::cout << "greater\n"; break;
   case(0): std::cout << "equal\n"; break;
   case(-1): std::cout << "lesser\n"; break;
}


On Tue, Feb 19, 2019 at 12:34 AM Vishal Oza <vickoza@gmail.com> wrote:

> Thank you I have a simple uses case but this is more like a hello world
> and not a production ready example I would like more examples to refine m=
y
> understanding
>
> #include <iostream>
> #include <compare>
> int main()
> {
>     auto a =3D 75;
>     auto b =3D 175;
>     if (auto comp =3D a <=3D> b; comp > 0)
>         std::cout << "greater\n";
>     else if (comp =3D=3D 0)
>         std::cout << "equal\n";
>     else
>         std::cout << "lesser\n";
> }
>
>
>
> On Monday, February 18, 2019 at 5:22:12 PM UTC-6, Ga=C5=A1per A=C5=BEman =
wrote:
>>
>> It's on my to-do list - but as a rough tldr: use <=3D> to implement all =
the
>> ordering operators, but use < in calling it.
>>
>> On Mon, Feb 18, 2019, 23:11 Vishal Oza <vic...@gmail.com wrote:
>>
>>> I think that the spaceship operator <=3D> feature needs more informatio=
n
>>> on how it should be used for common programmer. I do not think that the
>>> spaceship operator <=3D> should be used removed from the standard. I wo=
uld
>>> like some more books and articles on how to use this feature both as a
>>> run-time feature and a compile-time feature.
>>>
>>> On Saturday, February 16, 2019 at 3:43:01 PM UTC-6, libb...@gmail.com
>>> wrote:
>>>>
>>>> Hi everybody,
>>>>
>>>> I do not participate in C++ standardization, but I dislike <=3D> so mu=
ch
>>>> that I am considering writing an proposal to stop it.
>>>> I know it is futile to try to revert feature this big this late in
>>>> C++20 cycle, it is mostly about doing the right thing=E2=84=A2 even wh=
en you
>>>> have zero chance of success. :)
>>>>
>>>> Draft  is here
>>>> <https://docs.google.com/document/d/1VMp3_Dn-bY0ic2tTYjzL26QaTX16s2kwt=
UYkNWTi9w0/edit?usp=3Dsharing>
>>>> .
>>>>
>>>> Feel free to comment objections, requests for clarification... in the
>>>> document or reply here.
>>>> Also since I do not attend C++ standardization meetings if somebody
>>>> likes the draft and is interested in presenting it that would also be =
great.
>>>>
>>>> regards,
>>>> Ivan
>>>>
>>> --
>>> 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-proposal...@isocpp.org.
>>> To post to this group, send email to std-pr...@isocpp.org.
>>> To view this discussion on the web visit
>>> https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/c4244615-6=
097-4d4c-a87a-4b435911b8a5%40isocpp.org
>>> <https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/c4244615-=
6097-4d4c-a87a-4b435911b8a5%40isocpp.org?utm_medium=3Demail&utm_source=3Dfo=
oter>
>>> .
>>>
>> --
> 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/f699812c-8fc=
6-4080-9eaa-0ff339fc2917%40isocpp.org
> <https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/f699812c-8f=
c6-4080-9eaa-0ff339fc2917%40isocpp.org?utm_medium=3Demail&utm_source=3Dfoot=
er>
> .
>

--=20
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 e=
mail 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/CAEfefmyLGpro2-yAcrdUZjeO4PmtQUAwrHSp1dHSrcWewmi=
%3DJg%40mail.gmail.com.

--000000000000316c0b0582b61906
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di=
r=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div>Agree to =
have three-way=C2=A0operator.</div><div>Disagree that this operator should =
be consisted of &lt;=3D&gt;.</div><div>Tilde might=C2=A0good candidate or d=
ouble tilde. Hmm scratch that heavy collide with bit not.</div><div><br></d=
iv><div>Probably I miss something. </div><div>What is literal name of this =
operator?</div><div><br></div><div>From my experience=C2=A0 &#39;hello worl=
d&#39; should be=C2=A0</div><div><br></div><div><font color=3D"#000000">swi=
tch</font><span class=3D"gmail-m_-8525493098135418246styled-by-prettify" st=
yle=3D"color:rgb(102,102,0)">(</span><span class=3D"gmail-m_-85254930981354=
18246styled-by-prettify" style=3D"color:rgb(0,0,0)"> a=C2=A0</span><span cl=
ass=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(1=
02,102,0)">spaceship</span><span class=3D"gmail-m_-8525493098135418246style=
d-by-prettify" style=3D"color:rgb(0,0,0)"> b</span><span class=3D"gmail-m_-=
8525493098135418246styled-by-prettify" style=3D"color:rgb(102,102,0)">)</sp=
an></div><div><span class=3D"gmail-m_-8525493098135418246styled-by-prettify=
" style=3D"color:rgb(102,102,0)">{</span><span class=3D"gmail-m_-8525493098=
135418246styled-by-prettify" style=3D"color:rgb(0,0,0)"><br>=C2=A0=C2=A0 ca=
se(1): </span><span class=3D"gmail-m_-8525493098135418246styled-by-prettify=
" style=3D"color:rgb(0,0,0)">std</span><span class=3D"gmail-m_-852549309813=
5418246styled-by-prettify" style=3D"color:rgb(102,102,0)">::</span><span cl=
ass=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(0=
,0,0)">cout </span><span class=3D"gmail-m_-8525493098135418246styled-by-pre=
ttify" style=3D"color:rgb(102,102,0)">&lt;&lt;</span><span class=3D"gmail-m=
_-8525493098135418246styled-by-prettify" style=3D"color:rgb(0,0,0)"> </span=
><span class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"co=
lor:rgb(0,136,0)">&quot;greater\n&quot;</span><span class=3D"gmail-m_-85254=
93098135418246styled-by-prettify" style=3D"color:rgb(102,102,0)">; break;</=
span><span class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=
=3D"color:rgb(0,0,0)"><br>=C2=A0=C2=A0=C2=A0case(0): <span class=3D"gmail-m=
_-8525493098135418246styled-by-prettify" style=3D"color:rgb(0,0,0)">std</sp=
an><span class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"=
color:rgb(102,102,0)">::</span><span class=3D"gmail-m_-8525493098135418246s=
tyled-by-prettify" style=3D"color:rgb(0,0,0)">cout </span><span class=3D"gm=
ail-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(102,102,0)=
">&lt;&lt;</span><span class=3D"gmail-m_-8525493098135418246styled-by-prett=
ify" style=3D"color:rgb(0,0,0)"> </span><span class=3D"gmail-m_-85254930981=
35418246styled-by-prettify" style=3D"color:rgb(0,136,0)">&quot;equal\n&quot=
;</span><span class=3D"gmail-m_-8525493098135418246styled-by-prettify" styl=
e=3D"color:rgb(102,102,0)">; break;</span></span></div><div><span class=3D"=
gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(0,0,0)">=
<span class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"col=
or:rgb(102,102,0)"><font color=3D"#000000">=C2=A0=C2=A0=C2=A0case(-1): </fo=
nt><span class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"=
color:rgb(0,0,0)">std</span><span class=3D"gmail-m_-8525493098135418246styl=
ed-by-prettify" style=3D"color:rgb(102,102,0)">::</span><span class=3D"gmai=
l-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(0,0,0)">cout=
 </span><span class=3D"gmail-m_-8525493098135418246styled-by-prettify" styl=
e=3D"color:rgb(102,102,0)">&lt;&lt;</span><span class=3D"gmail-m_-852549309=
8135418246styled-by-prettify" style=3D"color:rgb(0,0,0)"> </span><span clas=
s=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(0,1=
36,0)">&quot;lesser\n&quot;</span><span class=3D"gmail-m_-85254930981354182=
46styled-by-prettify" style=3D"color:rgb(102,102,0)">; break;</span></span>=
</span><span class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=
=3D"color:rgb(0,0,0)"><span class=3D"gmail-m_-8525493098135418246styled-by-=
prettify" style=3D"color:rgb(102,102,0)"><br></span></span></div><div><span=
 class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:rg=
b(102,102,0)"></span><span class=3D"gmail-m_-8525493098135418246styled-by-p=
rettify" style=3D"color:rgb(0,0,0)">}</span></div><div><br></div></div></di=
v></div></div></div></div></div></div><br><div class=3D"gmail_quote"><div c=
lass=3D"gmail_attr" dir=3D"ltr">On Tue, Feb 19, 2019 at 12:34 AM Vishal Oza=
 &lt;<a href=3D"mailto:vickoza@gmail.com">vickoza@gmail.com</a>&gt; wrote:<=
br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px=
;border-left-style:solid"><div dir=3D"ltr">Thank you I have a simple uses c=
ase but this is more like a hello world and not a production ready example =
I would like more examples to refine my understanding<div><br></div><div><d=
iv class=3D"gmail-m_-8525493098135418246prettyprint" style=3D"border:1px so=
lid rgb(187,187,187);background-color:rgb(250,250,250)"><code class=3D"gmai=
l-m_-8525493098135418246prettyprint"><div class=3D"gmail-m_-852549309813541=
8246subprettyprint"><span class=3D"gmail-m_-8525493098135418246styled-by-pr=
ettify" style=3D"color:rgb(136,0,0)">#include</span><span class=3D"gmail-m_=
-8525493098135418246styled-by-prettify" style=3D"color:rgb(0,0,0)"> </span>=
<span class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"col=
or:rgb(0,136,0)">&lt;iostream&gt;</span><span class=3D"gmail-m_-85254930981=
35418246styled-by-prettify" style=3D"color:rgb(0,0,0)"><br></span><span cla=
ss=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(13=
6,0,0)">#include</span><span class=3D"gmail-m_-8525493098135418246styled-by=
-prettify" style=3D"color:rgb(0,0,0)"> </span><span class=3D"gmail-m_-85254=
93098135418246styled-by-prettify" style=3D"color:rgb(0,136,0)">&lt;compare&=
gt;</span><span class=3D"gmail-m_-8525493098135418246styled-by-prettify" st=
yle=3D"color:rgb(0,0,0)"><br></span><span class=3D"gmail-m_-852549309813541=
8246styled-by-prettify" style=3D"color:rgb(0,0,136)">int</span><span class=
=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(0,0,=
0)"> main</span><span class=3D"gmail-m_-8525493098135418246styled-by-pretti=
fy" style=3D"color:rgb(102,102,0)">()</span><span class=3D"gmail-m_-8525493=
098135418246styled-by-prettify" style=3D"color:rgb(0,0,0)"><br></span><span=
 class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:rg=
b(102,102,0)">{</span><span class=3D"gmail-m_-8525493098135418246styled-by-=
prettify" style=3D"color:rgb(0,0,0)"><br>=C2=A0 =C2=A0 </span><span class=
=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(0,0,=
136)">auto</span><span class=3D"gmail-m_-8525493098135418246styled-by-prett=
ify" style=3D"color:rgb(0,0,0)"> a </span><span class=3D"gmail-m_-852549309=
8135418246styled-by-prettify" style=3D"color:rgb(102,102,0)">=3D</span><spa=
n class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:r=
gb(0,0,0)"> </span><span class=3D"gmail-m_-8525493098135418246styled-by-pre=
ttify" style=3D"color:rgb(0,102,102)">75</span><span class=3D"gmail-m_-8525=
493098135418246styled-by-prettify" style=3D"color:rgb(102,102,0)">;</span><=
span class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"colo=
r:rgb(0,0,0)"><br>=C2=A0 =C2=A0 </span><span class=3D"gmail-m_-852549309813=
5418246styled-by-prettify" style=3D"color:rgb(0,0,136)">auto</span><span cl=
ass=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(0=
,0,0)"> b </span><span class=3D"gmail-m_-8525493098135418246styled-by-prett=
ify" style=3D"color:rgb(102,102,0)">=3D</span><span class=3D"gmail-m_-85254=
93098135418246styled-by-prettify" style=3D"color:rgb(0,0,0)"> </span><span =
class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb=
(0,102,102)">175</span><span class=3D"gmail-m_-8525493098135418246styled-by=
-prettify" style=3D"color:rgb(102,102,0)">;</span><span class=3D"gmail-m_-8=
525493098135418246styled-by-prettify" style=3D"color:rgb(0,0,0)"><br>=C2=A0=
 =C2=A0 </span><span class=3D"gmail-m_-8525493098135418246styled-by-prettif=
y" style=3D"color:rgb(0,0,136)">if</span><span class=3D"gmail-m_-8525493098=
135418246styled-by-prettify" style=3D"color:rgb(0,0,0)"> </span><span class=
=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(102,=
102,0)">(</span><span class=3D"gmail-m_-8525493098135418246styled-by-pretti=
fy" style=3D"color:rgb(0,0,136)">auto</span><span class=3D"gmail-m_-8525493=
098135418246styled-by-prettify" style=3D"color:rgb(0,0,0)"> comp </span><sp=
an class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:=
rgb(102,102,0)">=3D</span><span class=3D"gmail-m_-8525493098135418246styled=
-by-prettify" style=3D"color:rgb(0,0,0)"> a </span><span class=3D"gmail-m_-=
8525493098135418246styled-by-prettify" style=3D"color:rgb(102,102,0)">&lt;=
=3D&gt;</span><span class=3D"gmail-m_-8525493098135418246styled-by-prettify=
" style=3D"color:rgb(0,0,0)"> b</span><span class=3D"gmail-m_-8525493098135=
418246styled-by-prettify" style=3D"color:rgb(102,102,0)">;</span><span clas=
s=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(0,0=
,0)"> comp </span><span class=3D"gmail-m_-8525493098135418246styled-by-pret=
tify" style=3D"color:rgb(102,102,0)">&gt;</span><span class=3D"gmail-m_-852=
5493098135418246styled-by-prettify" style=3D"color:rgb(0,0,0)"> </span><spa=
n class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:r=
gb(0,102,102)">0</span><span class=3D"gmail-m_-8525493098135418246styled-by=
-prettify" style=3D"color:rgb(102,102,0)">)</span><span class=3D"gmail-m_-8=
525493098135418246styled-by-prettify" style=3D"color:rgb(0,0,0)"><br>=C2=A0=
 =C2=A0 =C2=A0 =C2=A0 </span><span class=3D"gmail-m_-8525493098135418246sty=
led-by-prettify" style=3D"color:rgb(0,0,0)">std</span><span class=3D"gmail-=
m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(102,102,0)">::=
</span><span class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=
=3D"color:rgb(0,0,0)">cout </span><span class=3D"gmail-m_-85254930981354182=
46styled-by-prettify" style=3D"color:rgb(102,102,0)">&lt;&lt;</span><span c=
lass=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(=
0,0,0)"> </span><span class=3D"gmail-m_-8525493098135418246styled-by-pretti=
fy" style=3D"color:rgb(0,136,0)">&quot;greater\n&quot;</span><span class=3D=
"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(102,102=
,0)">;</span><span class=3D"gmail-m_-8525493098135418246styled-by-prettify"=
 style=3D"color:rgb(0,0,0)"><br>=C2=A0 =C2=A0 </span><span class=3D"gmail-m=
_-8525493098135418246styled-by-prettify" style=3D"color:rgb(0,0,136)">else<=
/span><span class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=
=3D"color:rgb(0,0,0)"> </span><span class=3D"gmail-m_-8525493098135418246st=
yled-by-prettify" style=3D"color:rgb(0,0,136)">if</span><span class=3D"gmai=
l-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(0,0,0)"> </s=
pan><span class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D=
"color:rgb(102,102,0)">(</span><span class=3D"gmail-m_-8525493098135418246s=
tyled-by-prettify" style=3D"color:rgb(0,0,0)">comp </span><span class=3D"gm=
ail-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(102,102,0)=
">=3D=3D</span><span class=3D"gmail-m_-8525493098135418246styled-by-prettif=
y" style=3D"color:rgb(0,0,0)"> </span><span class=3D"gmail-m_-8525493098135=
418246styled-by-prettify" style=3D"color:rgb(0,102,102)">0</span><span clas=
s=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(102=
,102,0)">)</span><span class=3D"gmail-m_-8525493098135418246styled-by-prett=
ify" style=3D"color:rgb(0,0,0)"><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 std</span><=
span class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"colo=
r:rgb(102,102,0)">::</span><span class=3D"gmail-m_-8525493098135418246style=
d-by-prettify" style=3D"color:rgb(0,0,0)">cout </span><span class=3D"gmail-=
m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(102,102,0)">&l=
t;&lt;</span><span class=3D"gmail-m_-8525493098135418246styled-by-prettify"=
 style=3D"color:rgb(0,0,0)"> </span><span class=3D"gmail-m_-852549309813541=
8246styled-by-prettify" style=3D"color:rgb(0,136,0)">&quot;equal\n&quot;</s=
pan><span class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D=
"color:rgb(102,102,0)">;</span><span class=3D"gmail-m_-8525493098135418246s=
tyled-by-prettify" style=3D"color:rgb(0,0,0)"><br>=C2=A0 =C2=A0 </span><spa=
n class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:r=
gb(0,0,136)">else</span><span class=3D"gmail-m_-8525493098135418246styled-b=
y-prettify" style=3D"color:rgb(0,0,0)"><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 std<=
/span><span class=3D"gmail-m_-8525493098135418246styled-by-prettify" style=
=3D"color:rgb(102,102,0)">::</span><span class=3D"gmail-m_-8525493098135418=
246styled-by-prettify" style=3D"color:rgb(0,0,0)">cout </span><span class=
=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(102,=
102,0)">&lt;&lt;</span><span class=3D"gmail-m_-8525493098135418246styled-by=
-prettify" style=3D"color:rgb(0,0,0)"> </span><span class=3D"gmail-m_-85254=
93098135418246styled-by-prettify" style=3D"color:rgb(0,136,0)">&quot;lesser=
\n&quot;</span><span class=3D"gmail-m_-8525493098135418246styled-by-prettif=
y" style=3D"color:rgb(102,102,0)">;</span><span class=3D"gmail-m_-852549309=
8135418246styled-by-prettify" style=3D"color:rgb(0,0,0)"><br></span><span c=
lass=3D"gmail-m_-8525493098135418246styled-by-prettify" style=3D"color:rgb(=
102,102,0)">}</span><span class=3D"gmail-m_-8525493098135418246styled-by-pr=
ettify" style=3D"color:rgb(0,0,0)"><br><br></span></div></code></div><br><b=
r>On Monday, February 18, 2019 at 5:22:12 PM UTC-6, Ga=C5=A1per A=C5=BEman =
wrote:<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;p=
adding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;bo=
rder-left-style:solid"><div dir=3D"auto">It&#39;s on my to-do list - but as=
 a rough tldr: use &lt;=3D&gt; to implement all the ordering operators, but=
 use &lt; in calling it.</div><br><div class=3D"gmail_quote"><div dir=3D"lt=
r">On Mon, Feb 18, 2019, 23:11 Vishal Oza &lt;<a rel=3D"nofollow">vic...@gm=
ail.com</a> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);bo=
rder-left-width:1px;border-left-style:solid"><div dir=3D"ltr">I think that =
the spaceship operator &lt;=3D&gt; feature needs more information on how it=
 should be used for common programmer. I do not think that the spaceship op=
erator &lt;=3D&gt; should be used removed from the standard. I would like s=
ome more books and articles on how to use this feature both as a run-time f=
eature and a compile-time feature.<br><br>On Saturday, February 16, 2019 at=
 3:43:01 PM UTC-6, <a rel=3D"noreferrer">libb...@gmail.com</a> wrote:<block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;padding-left:=
1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-st=
yle:solid"><div dir=3D"ltr"><div>Hi everybody, <br></div><div><br></div><di=
v>I do not participate in
 C++ standardization, but I dislike &lt;=3D&gt; so much that I am=20
considering writing an proposal to stop it.<br></div><div>I know it is=20
futile to try to revert feature this big this late in C++20 cycle, it is
 mostly about doing the right thing<span>=E2=84=A2</span> even when you hav=
e zero chance of=20
success. :)</div><div><br></div><div>Draft=C2=A0 is <a href=3D"https://docs=
..google.com/document/d/1VMp3_Dn-bY0ic2tTYjzL26QaTX16s2kwtUYkNWTi9w0/edit?us=
p=3Dsharing" target=3D"_blank" rel=3D"nofollow">here</a>.</div><div><br></d=
iv><div>Feel free to comment objections, requests for clarification... in t=
he document or reply here.</div><div>Also
 since I do not attend C++ standardization meetings if somebody likes=20
the draft and is interested in presenting it that would also be great.<br><=
/div><div><br></div><div>regards, <br></div><div>Ivan<br></div></div></bloc=
kquote></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 rel=3D"nofollow">std-proposal...@isocpp.org</a>.<br>
To post to this group, send email to <a rel=3D"nofollow">std-pr...@isocpp.o=
rg</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/c4244615-6097-4d4c-a87a-4b435911b8a5%=
40isocpp.org?utm_medium=3Demail&amp;utm_source=3Dfooter" target=3D"_blank" =
rel=3D"nofollow">https://groups.google.com/a/isocpp.org/d/msgid/std-proposa=
ls/c4244615-6097-4d4c-a87a-4b435911b8a5%40isocpp.org</a>.<br>
</blockquote></div>
</blockquote></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" target=3D"_=
blank">std-proposals+unsubscribe@isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org" target=3D"_blank">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/f699812c-8fc6-4080-9eaa-0ff339fc2917%=
40isocpp.org?utm_medium=3Demail&amp;utm_source=3Dfooter" target=3D"_blank">=
https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/f699812c-8fc6-=
4080-9eaa-0ff339fc2917%40isocpp.org</a>.<br>
</blockquote></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/CAEfefmyLGpro2-yAcrdUZjeO4PmtQUAwrHSp=
1dHSrcWewmi%3DJg%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">h=
ttps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAEfefmyLGpro2-=
yAcrdUZjeO4PmtQUAwrHSp1dHSrcWewmi%3DJg%40mail.gmail.com</a>.<br />

--000000000000316c0b0582b61906--

.
