What is the order of evaluation in a member initializer list?

It depends on the order of data member declarations in the class. So a_ will be the first one, then b_ will be the second one in your example.

Leave a Comment