[cfe-dev] Spaceships

Martin J. O'Riordan via cfe-dev cfe-dev at lists.llvm.org
Mon Feb 19 03:33:30 PST 2018


Thanks Richard and Alexey,

 

your references explain this perfectly.  I had been completely oblivious to this extension proposal - neat name for the token :)

 

All the best,

 

            MartinO

 

From: Richard Smith [mailto:richard at metafoo.co.uk] 
Sent: 17 February 2018 22:02
To: Martin J. O'Riordan <MartinO at theheart.ie>
Cc: Clang Dev <cfe-dev at lists.llvm.org>
Subject: Re: [cfe-dev] Spaceships

 

This is the C++20 three-way comparison operator. See http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0515r3.pdf

 

On 17 Feb 2018 13:55, "Martin J. O'Riordan via cfe-dev" <cfe-dev at lists.llvm.org <mailto:cfe-dev at lists.llvm.org> > wrote:

Hi CFE-Devs,

 

I notice in the v6.0 branch that there is a new token called “spaceship” that is for the character sequence ‘<=>’.  What is this used for?

 

Thanks,

 

            MartinO

 


_______________________________________________
cfe-dev mailing list
cfe-dev at lists.llvm.org <mailto:cfe-dev at lists.llvm.org> 
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180219/f71dcf97/attachment.html>


More information about the cfe-dev mailing list