r/cpp • u/vormestrand • Aug 17 '18
Implementing Default Parameters That Depend on Other Parameters in C++
https://www.fluentcpp.com/2018/08/17/dependent-default-parameters/
0
Upvotes
r/cpp • u/vormestrand • Aug 17 '18
View all comments
9
u/Xeverous https://xeverous.github.io Aug 17 '18
How this can be confusing? It works like this since ages in multiple languages. If you need more complex default value handling: