Quote Originally Posted by Scatman
is there an advantage of the new syntax again the old one?
It's a bit old and so might be outdated for C++14 and C++17 as I vaguely recall some technical change in this area, but it's still a good overview: GotW #1 Solution: Variable Initialization – or Is It?