r/cpp • • Apr 19 '20

Default function arguments are the devil

https://quuxplusone.github.io/blog/2020/04/18/default-function-arguments-are-the-devil/
92 Upvotes

149 comments sorted by

View all comments

Show parent comment

6

u/Plazmotech Apr 19 '20

Elegant? I think it’s fairly ugly. It’s neat, sure, but kind of ugly

5

u/AntiProtonBoy Apr 19 '20

The nested {} brackets make it look a bit messy, but it's quite alright otherwise.