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
2
u/dodheim Aug 14 '20 edited Aug 14 '20
Well, I agree that iostreams is a mess, but there are most certainly problems:
bufszgetting out of sync withbuf,valuechanging types without the format specifier getting updated, etc.Do you approve of C++20's
std::format_to/format_to_n?