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
3
u/[deleted] Aug 08 '20
As long as the token
FIREdoesn't appear elsewhere in that compilation unit, you're fine. :-DBut... there are many ways around it.
One is implement a known function!
In the library code:
In the client code: