Unofficial Hacker News companion — get notified on comment replies, and more.

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

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

View full thread · View on Hacker News

Comment thread (1)

  1. you still can have dense representations in many cases, but you're right that it's a much bigger hassle than otherwise and generally requires some type of special casing.

    Still it's a completely valid solution. Like any solution it solves some problems and introduces others.