An unofficial, read-only Hacker News reader.

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

131 points by surprisetalk 4 days ago | lemire.me | 198 comments on HN

View full thread · View on Hacker News

Comment thread (1)

  1. Because it needs a FooBase to give as the value for .base or the struct initialization isn't valid because it doesn't give values for all the members?