Unofficial Hacker News client - receive Push Notifications on replies.

In C++, = default and {} are not the same constructor (opens external site)

131 points by surprisetalk 5 days ago | lemire.me | 200 comments on HN | Vote on HN (opens Hacker News)

View full thread · View on Hacker News

Comment thread (3)

  1. But you can also write int x = rand(); how is that special?
    Replies (1)
    1. "uninitialized" is not a synonym for "random value", it's a totally different state.

      https://www.ralfj.de/blog/2019/07/14/uninit.html

      Replies (1)
      1. Nowhere did I imply it is.