An unofficial, read-only Hacker News reader.

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)

  1. Reading Effective C++ those many years ago was eye-opening in a couple ways: initially for the intended reason in the title of the book, but later it felt like having a map to a minefield: good info to have, but it felt more prudent to stay out of the minefield in the first place.
    Replies (1)
    1. This. Prudent to stay out of the minefield sums it up perfectly. My only conclusion about why some still argue for building more routes through the minefield is that C++ has a literal cult of followers and promoters... and it's sooo hard to actually leave a cult. It was hard for me too, having started C++ in 1992...