I'm sorry, but I have to ask what the hell is going on here Why does this if-statement combining assignment and an equality check return true? - not an interesting question, a correct but not brilliant top-voted answer, but the up-voting here seems to me to be nonsensical. Are there really so many C++ programmers that think the question and the answer (both pretty straightforward for anyone that knows a bit of c++) deserve these upvotes?
This has nothing to do with up or downvotes on my own answer - it just seems bizarre to me.