← 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 (3) pwdisswordfishq | 3 days ago | parent | reply But you can also write int x = rand(); how is that special? Replies (1) steveklabnik | 3 days ago | parent | reply "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) pwdisswordfishq | 2 days ago | parent | reply Nowhere did I imply it is.
Replies (1)
https://www.ralfj.de/blog/2019/07/14/uninit.html
Replies (1)