Namespaces
Variants
Views
Actions

Talk:cpp/language/default arguments

From cppreference.com

[edit] "Function parameters are not allowed" – Why?

What are the reasons to forbid `void foo(int a, int b = a);` etc.? --2003:E3:B71E:EF00:A57C:7747:8AB5:F0F6 02:14, 9 June 2022 (PDT)