[Bug c++/51253] [C++11][DR 1030] Evaluation order (sequenced-before relation) among initializer-clauses in braced-init-list

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 3 09:29:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51253

--- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Akim Demaille from comment #10)
>   auto t = std::make_tuple(incr(), incr());

That's not an initializer-list, it's a function call, so the order of
evaluation is not specified and that example is not relevant AFAICT.



More information about the Gcc-bugs mailing list