← Top stories In C++, = default and {} are not the same constructor ↗ (opens external site) 129 points by surprisetalk 3 days ago | lemire.me | 198 comments on HN ↗ View full thread · View on Hacker News Comment thread (2) qurren | 3 days ago | parent | reply C++ wasn't scary until they kept adding feature-of-the-month to the language. I can't understand recent C++ code anymore. Just leave constructors alone. We don't need constexpr. We don't need spaceship operators and all of that nonsense. Replies (1) benibela | 2 days ago | parent | reply It became scary when the compilers started optimizing UB away.Before that you could just read the assembly to know what the code does. Afterwards any compiler update might have change the meaning
Replies (1)
Before that you could just read the assembly to know what the code does. Afterwards any compiler update might have change the meaning