18 Sep
2018
18 Sep
'18
11:26 p.m.
AMDG On 09/18/2018 05:17 PM, Gavin Lambert via Boost wrote:
<snip> Steven's already addressed this as well, which seems to agree. Although I must admit a little surprise; I thought I remembered that even though the actual initialisation of members occurs in the defined order, evaluation of arguments to the initialisers might not be. Perhaps this was something tightened in C++11?
It was always that way: "There is a sequence point (1.9) after the initialization of each base and member. The expression-list of a mem-initializer is evaluated as part of the initialization of the corresponding base or member." [C++03] In Christ, Steven Watanabe