hatcat / cg30_issues

The public issues repository for the book "Beautiful C++"
4 stars 1 forks source link

Aggregate zero initialization #26

Open kobi-ca opened 2 years ago

kobi-ca commented 2 years ago

Page 142, auto t = Agg{};

Should be zero initialization since it is aggregate hence all will be zeros and deterministic.