Nov 28, 2014

[C++17] Something changed in C++17

Link to Herb sutter's blog

Most important:
Adopted N3922, which fixes the most common pitfall with auto and {}, so that auto x{y};
now deduces the sane and expected thing, namely the type of y.
Before this, it deduced initializer_list which was unfortunate and surprising. So, fixed.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.