3 ms·
That's been around since C++11 although it's kind of weird to see it used for a char*
by duped 4y ago
That's been around since C++11 although it's kind of weird to see it used for a char*
- owl57 4y agoA 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]
- devnullbrain 4y agoI use it for everything, even loop variables.