Member predicate Field::Field::getInitializationOrder

Gets the zero-based index of the specified field within its enclosing class, counting only fields that can be initialized. This is the order in which the field will be initialized, whether by an initializer list or in a constructor.

int getInitializationOrder()