of a braced-init-list, the initializer-clauses, including any that result from pack expansions ([temp.variadic]), are evaluated in the order in which they appear. That is, every value computation and side effect associated with a given initializer-clause is sequenced before every value computation and side effect associated with any initializer-clause that follows it in the comma-separated list of the initializer-list." следует что инициализации параметров по аргументам тоже упорядочены.
Сравните с текстом для массива, поставьте эксперименты every value computation and side effect associated with a given initializer-clause это не включает associated with copy initialization of constructor argument
Обсуждают сегодня