Y
Hacker News
new
|
ask
|
show
|
jobs
by
spacechild1
9 days ago
Can you give a concrete example? Why wouldn't you initialize the member to
something
, e.g. a sentinel value?
Note that if the member is non-trivial, its default constructor is called either way.