156
Stack overflow is almost dead
(blog.pragmaticengineer.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
The question asks for "the best" way to do it (making it opinion based) and forbids a potential solution without explaining why (it's clearly some kind of assignment, but that doesn't matter here). And it has plenty of answers both using Boost and in pure C++, so I'm not sure why that wasn't enough for you. Just because it's closed doesn't mean the answers already provided are bad.
By that measure basically every StackOverflow question asking how to do something is opinion based - the very nature of the site is questions asking for the best solutions. The "opinion based" rules is NOT meant to prevent questions like this. This is the kind of useless pedantry that killed StackOverflow.
I think it comes from a fundamental disconnect. You have something like:
I never said it wasn't; just that it shouldn't have been closed.
Again, I never said otherwise. The point is it shouldn't have been closed.