Remix.run Logo
▲ jacobcmarshall 4 hours ago

This is one of the core problems with C++. If you ever encounter a language oddity, it's because you're holding the language wrong, and if you just do it The Right Way, you won't have this problem.

C++ rarely pushes the user towards doing the right thing.