https://www.cppstories.com/2023/init-story-print/
And the book at Leanpub:
1,298 karma · joined February 20, 2013
see my blog at: http://www.bfilipek.com/
https://www.cppstories.com/2023/init-story-print/
And the book at Leanpub:
What re alternatives for a system programming language? (Rust seems to be fine, but still it's not super easy...)
But now I see the issue and it's improved. So the version:
template <typename... Args> void printTupleApplyFn(const std::tuple<Args...>& tp) { std::cout << "("; std::apply(printImpl<Args...>, tp); // << std::cout << ")"; }
is fine and probably the easiest
How do you use smart pointers? What’s your common use case to refactor into smart pointers?
I think it can be an important element of the build process, but some tunning is needed to match the project needs.
Have anyone got some experience with Boyer Moore in day to day code?
in your OnScopeExit we could use templates (and not use std::function), that way any callable thing could be called - and it would be lighter than std::function