Re: [std-discussion] subscripting fold expression

1,176 views
Skip to first unread message

Thiago Macieira

unread,
Apr 26, 2019, 11:21:16 AM4/26/19
to std-dis...@isocpp.org
On Thursday, 25 April 2019 23:47:12 PDT Christof Meerwald wrote:
> And while we are on the topic. What would be the use-case for any of
> the comparison operators that are allowed? Aren't those doing more
> harm than good by being allowed (and not doing what a user might
> expect)?

I expect that the comparison operators are used as a syntax crutch, not as
comparisons, the same way we abuse the shift operators for streaming.

a < b < c < d < e;
a << b << c << d << e;

--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel System Software Products



Reply all
Reply to author
Forward
0 new messages