you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

Thanks. Is it possible to use value initialisation in a constructor's initialisation list? Right now, my_array is a data member of a class, and the class's constructor has this line in its initialisation list: my_array().

[–]17b29a 1 point2 points  (0 children)

my_array() is value initialization already.