cppfront (Herb Sutter's idea in CppCon)
Olivier Pisano
olivier.pisano at laposte.net
Mon Nov 14 14:12:20 UTC 2022
On Monday, 14 November 2022 at 13:57:34 UTC, XavierAP wrote:
> Of course you want to automate and get rid of const auto &
> const overloads, copy-move Hell etc, this is a different topic
> and the main benefit that Herb seems to be going after. But as
> for teaching C++ programmers to declare name: type = instead of
> type name = etc, is it a good idea?
It enables syntax for functions to be the same as for lambdas,
eliminating a special case, so yes, it is a good idea.
More information about the Digitalmars-d
mailing list