For the same reason v1{elementsCount} and v2{elementsCount} are different. We don't know what type c_ is, but I might be a type whose behaviour regarding {} vs () is different.
Also, if this is .cpp, and the member is declared in .h, you don't even see the type immediately, and without a comment like this people may be tempted to "fix" the annoying style inconsistency each time they make edits close to this ctor.
Allowing initialisation list for bracket initialisation was a mistake. We'd be totally fine if T a{x} and T b(x) were consistent, and used Vec<T> v = {a, b} for initialisation lists.
2
u/GuiltyFan6154 Mar 02 '21
Hold on, why does changing c_(c) to c_{c} in the comment break the code?