r/cpp • u/anonymous23874 • Apr 19 '20
Default function arguments are the devil
https://quuxplusone.github.io/blog/2020/04/18/default-function-arguments-are-the-devil/
90
Upvotes
r/cpp • u/anonymous23874 • Apr 19 '20
View all comments
Show parent comment
1
u/hedayatvk Apr 19 '20
Well, actually you can use Boost Parameter library to have named arguments in C++:
https://www.boost.org/doc/libs/1_72_0/libs/parameter/doc/html/index.html