4 ms·
That's a really great question. My favourite C++ question is asking what std::move does. It's amazing the knots people twist themselves into explaining how it
by imron 3y ago
That's a really great question.
My favourite C++ question is asking what std::move does. It's amazing the knots people twist themselves into explaining how it supposedly works, when in reality it's just a type cast to an r-value so that the move constructor/assignment gets called instead of the copy one.
- intelVISA 3y agoFor me, it's asking about std::launder.
- lionkor 3y agoAre you selecting for people from the C++ standards commitee? :D
- dataflow 3y agoHow many people have answered your question correctly?
- intelVISA 3y ago0! It's not a huge deal, just expecting to hear a "wtf is that" vs. some feigned attempt to bs it.
- imron 3y agoNot gonna lie, had to look that one up.