r/cpp • • 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

62 comments sorted by

View all comments

19

u/europe-fire Aug 08 '20

I dig this. Very cool

14

u/codeguru42 Aug 08 '20

What is 0.5 lines of code?

7

u/[deleted] Aug 09 '20

It's referring to the fact that you aren't adding an extra line, but adding to an existing one (default args provided to the function in question).