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:
People ask questions like “which programming language is best” or “what’s the best game engine” or “should I use tabs or spaces”?
Someone decided they didn’t want StackOverflow being used to debate these things, so they made a rule against opinion-based questions.
People later come along and blindly apply the rule to ban anything that is worded as if it is an opinion, even if it’s a perfectly suitable question.
not sure why that wasn’t enough for you
I never said it wasn’t; just that it shouldn’t have been closed.
Just because it’s closed doesn’t mean the answers already provided are bad.
Again, I never said otherwise. The point is it shouldn’t have been closed.
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.