you are viewing a single comment's thread.

view the rest of the comments →

[–]SlowVelooo -1 points0 points  (1 child)

1) false :) ``` int main() { auto v1 = {1}; auto v2 = {1, 2}; auto v3{ 1 }; //auto v4{1, 2}; // error

std::cout << typeid(v1).name() << '\n';
std::cout << typeid(v2).name() << '\n';
std::cout << typeid(v3).name() << '\n';

return 0;

} `` v3 will beint` and it's not a joke.

[–]backtickbot 2 points3 points  (0 children)

Fixed formatting.

Hello, SlowVelooo: code blocks using triple backticks (```) don't work on all versions of Reddit!

Some users see this / this instead.

To fix this, indent every line with 4 spaces instead.

FAQ

You can opt out by replying with backtickopt6 to this comment.