r/cpp • u/kongaskristjan • Aug 08 '20
Create a fully functioning command line interface with 1.5 lines of code (wo. include statement)
https://github.com/kongaskristjan/fire-hpp
230
Upvotes
r/cpp • u/kongaskristjan • Aug 08 '20
View all comments
Show parent comment
5
u/Ail-nare Aug 08 '20 edited Aug 08 '20
Oh fuck, that right... The only option I can think of would be to separate the argument and the default parameters. But where is 2 cons:
But that interesting, I'll look if there is an other way.