Date: Thu, 20 Oct 2022 12:25:37 +0200
If you don't use a colon (:) does that mean the type of the ?-> expression
is always void?
You can't write the following, can you?
std::cout << ptr?->get_value();
>The three-way comparison operator <=> is 3 chars long; ?-> now seems
reasonable IMHO.
There are also <<= and >>= so I don't think the length should be
controversial.
is always void?
You can't write the following, can you?
std::cout << ptr?->get_value();
>The three-way comparison operator <=> is 3 chars long; ?-> now seems
reasonable IMHO.
There are also <<= and >>= so I don't think the length should be
controversial.
Received on 2022-10-20 10:25:50