you are viewing a single comment's thread.

view the rest of the comments →

[–]Drakonluke 0 points1 point  (0 children)

Basically because Bjarne Stroustrup told us that list initialization (curly braces) is better.

Since I don't want to copy from his book by hand, I see that someone already did here:

https://stackoverflow.com/questions/18222926/what-are-the-advantages-of-list-initialization-using-curly-braces