O'Reilly logo
  • Chris Kang thinks this is interesting:

When a definition defines two or more variables, the name of each object becomes visible immediately. Thus, it is possible to initialize a variable to the value of one defined earlier in the same definition.

From

Cover of C++ Primer, Fifth Edition

Note

Variable defined later in the same line can be initialized with variable defined earlier in the same line