← Top stories In C++, = default and {} are not the same constructor ↗ (opens external site) 130 points by surprisetalk 3 days ago | lemire.me | 198 comments on HN ↗ View full thread · View on Hacker News Comment thread (2) bestouff | 3 days ago | parent | reply The more you know about C++, the less you're confident about how your code will be compiled. Replies (1) simonask | 3 days ago | parent | reply No I'm sure it will compile. But will it silently corrupt the customer's data 5 years down the line due to a compiler upgrade that suddenly exposed UB in a rarely taken code path? Much less sure.
Replies (1)