← Top stories In C++, = default and {} are not the same constructor ↗ (opens external site) 129 points by surprisetalk 2 days ago | lemire.me | 198 comments on HN ↗ View full thread · View on Hacker News Comment thread (2) yrjrjjrjjtjjr | 1 day ago | parent | reply Could point to memory from alloca Replies (1) steveklabnik | 10 hours ago | parent | reply That doesn’t give you the lifetime freedom aspects of the heap, which is what’s required to not think about it.
Replies (1)