3 ms·
A bit weird, but I would support a local style guide that limits initialization style choices to parens for calling non-initializer-list constructors and braces
by owl57 4y ago
A bit weird, but I would support a local style guide that limits initialization style choices to parens for calling non-initializer-list constructors and braces for everything else — for simplicity, consistency, less confusion with assignment, and that odd case where it would actually catch an error (unindended narrowing conversion).
- deleted 4y ago[deleted]