Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #121438 > unrolled thread
| Started by | Tim Rentsch <tr.17687@z991.linuxsc.com> |
|---|---|
| First post | 2025-01-14 09:31 -0800 |
| Last post | 2025-02-10 15:53 +0000 |
| Articles | 1 on this page of 21 — 12 participants |
Back to article view | Back to comp.lang.c++
How good is your C++ knowledge? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-01-14 09:31 -0800
Re: How good is your C++ knowledge? David Brown <david.brown@hesbynett.no> - 2025-01-14 20:25 +0100
Re: How good is your C++ knowledge? Chris Ahlstrom <OFeem1987@teleworm.us> - 2025-01-14 15:11 -0500
Re: How good is your C++ knowledge? Phillip <nntp@fulltermprivacy.com> - 2025-01-14 15:57 -0500
Re: How good is your C++ knowledge? Lynn McGuire <lynnmcguire5@gmail.com> - 2025-01-15 00:13 -0600
Re: How good is your C++ knowledge? Paavo Helde <eesnimi@osa.pri.ee> - 2025-01-15 17:51 +0200
Re: How good is your C++ knowledge? Muttley@DastardlyHQ.org - 2025-01-15 16:37 +0000
Re: How good is your C++ knowledge? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2025-01-18 07:55 -0800
Re: How good is your C++ knowledge? Vir Campestris <vir.campestris@invalid.invalid> - 2025-01-22 11:23 +0000
Re: How good is your C++ knowledge? Paavo Helde <eesnimi@osa.pri.ee> - 2025-01-22 16:30 +0200
Re: How good is your C++ knowledge? Rosario19 <Ros@invalid.invalid> - 2025-01-20 13:17 +0100
Re: How good is your C++ knowledge? Muttley@DastardlyHQ.org - 2025-01-20 16:12 +0000
Re: How good is your C++ knowledge? Andrey Tarasevich <noone@noone.net> - 2025-02-08 21:22 -0800
Re: How good is your C++ knowledge? James Kuyper <jameskuyper@alumni.caltech.edu> - 2025-02-09 16:17 -0500
Re: How good is your C++ knowledge? Muffley@PillowHQ.org - 2025-02-10 08:26 +0000
Re: How good is your C++ knowledge? David Brown <david.brown@hesbynett.no> - 2025-02-10 10:46 +0100
Re: How good is your C++ knowledge? Muffley@PillowHQ.org - 2025-02-10 10:00 +0000
Re: How good is your C++ knowledge? Paavo Helde <eesnimi@osa.pri.ee> - 2025-02-10 15:52 +0200
Re: How good is your C++ knowledge? Muffley@PillowHQ.org - 2025-02-10 14:56 +0000
Re: How good is your C++ knowledge? Paavo Helde <eesnimi@osa.pri.ee> - 2025-02-10 17:18 +0200
Re: How good is your C++ knowledge? Muffley@PillowHQ.org - 2025-02-10 15:53 +0000
Page 2 of 2 — ← Prev page 1 [2]
| From | Muffley@PillowHQ.org |
|---|---|
| Date | 2025-02-10 15:53 +0000 |
| Message-ID | <vod7da$198ju$1@dont-email.me> |
| In reply to | #121565 |
On Mon, 10 Feb 2025 17:18:52 +0200
Paavo Helde <eesnimi@osa.pri.ee> wibbled:
>On 10.02.2025 16:56, Muffley@PillowHQ.org wrote:
>> Don't be willfully dumb, you know what I mean. Eg:
>>
>> myclass &operator++ (int)
>> {
>> :
>> }
>>
>> The 'int' is a ridiculous hack to signify postfix. There are far neater ways
>> it could have been done, eg a post_operator keyword or something similar.
>
>I see. I was indeed wondering what you mean by 'postfix', but the
>current thread is all about <<...>> and [[...]], so I was confused.
It was simply an example of how C++ - apart from maybe in the beginning - has
not really been designed but rather is a succession of bodges to get something
to work on top of pre-existing syntax.
>OTOH, the `>>` misparse was indeed a nuisance in the past.
And should never have happened because templates defs should never have used
< and > in the first place especially given that << and >> had already been
cretinously overloaded to use for streams instead of inventing a new operator
for them. The '@' character for example is available on every computer keyboard
and is still waiting to be used by C++ for something. No reason it couldn't
have been used for template defs.
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | comp.lang.c++
csiph-web