An unofficial, read-only Hacker News reader.

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 (1)

  1. I moved from C++ to Java in my career. I was immediatey struck by how much simpler was Java as a language, not limited to constructors. Can you believe that an entire blog post is required to explain this insanely nuanced part of C++? I don't miss the armory of footguns.