Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: The --> "operator"
On Wed, Jul 08, 2026 at 06:56:01AM -0400, Greg Troxel wrote:
> I have never seen --> in C, from reading K&R in 1977 to now. It looks
> like something made up by C++ :-) But seriously, I find it unhelpful.
> The semantics of --i and i-- are clear and have been stable for years,
> as are the semantics of > and >=.
There is nothing special about it, and it doesn't matter if you
write it as -- > or --> and give the latter a cute name.
It is two operators, post-decrement and greater-than and it has been
there from the beginning.
Martin
Home |
Main Index |
Thread Index |
Old Index