3 ms·
> It's a huge hack, but the argument that it's something hard to remember that you have to Google for doesn't hold water. So basically you agree with the the f
by rootlocus 11y ago
> It's a huge hack, but the argument that it's something hard to remember that you have to Google for doesn't hold water.
So basically you agree with the the fact that it's a hack, but feel that it's necessary to attack me personally (with a well placed "ad hominem" fallacy) for not being able to remember such trivia.
Let's make this clear: this isn't a test on how well you know C++. It's a rhetorical question, aimed at people how don't know C++, or only have a basic idea of how operator overloading works. Would they be able to guess which is overloaded how? No. Because it's an unintuitive hack.
That's the purpose of the question.
> Anyone halfway knowledgeable in C++ can be expected to know this piece of trivia, IMHO.
You can have your "humble" opinion (first one so far). I'll just have to humbly disagree with it.