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. Yes, C++ is an omnibus language where all things are possible.
    Replies (1)
    1. All things... except non-nullable pointers, movable values, type punning, ergonomic sum types, and the list is frankly much longer.

      The only way you could think that C++ lets you do everything is if you've never tried anything else.