Is there an article, blog or book that shows how to structure C++ projects in a functional way or rather non-OOP way? Most of the articles I've read just shows off the `<functional>` header isolated from context. That's cool and all, but if I end up with classes that just use the `functional` header, it's not really functional/non-OOP.

The reason why I'm asking is that, when I write C++, the very first instinct I have is to ask "Can this be represented as an object?" and most of the time, the answer is yes.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://hachyderm.io/users/some/statuses/116036996334594905 on your instance and quote it. (Note that quoting is not supported in Mastodon.)