C++ Language/Variables/UniformInitialization
There are three different syntax that you could use for initializing a variable: traditional "implicit initialization" (int iVar = 11;
), traditional "explicit initialization" (int iVar(11);
), and modern "uniform initialization" (int iVar {11};
).
Additional information about uniform initialization (includes interactive examples)