
I have run in to an odd problem after converting a bunch of my YAML pipelines to use templates for holding job logic as well as for defining my pipeline variables. If you have an object created as type MostDerived: The most-derived object of d_obj is an object of type Derived. Again, complete is not synonymous with most-derived.Īlso if I have created an object of Derived like this: Derived d_obj = Derived(), Is the object d_obj is also a "most-derived" object? This is not necessarily a complete object, however, since this could be a class member definition. The most-derived object of b_obj is an object of type Base. So if I have created an object of Base like this: Base b_obj = Base(), Is the object b_obj is "most-derived" object?

Per the question "What does the "most derived object" mean?" I think that (correct me if I am wrong), objects of type "most-derived" class only, like MostDerived, are called "most-derived" objects. I stopped here, I really do not understand the rest of the wording. If a complete object, a member subobject, or an array element is of class type, its type is considered the most derived class An object of a most derived class type or of a non-class type is called a most derived object.įrom the quote what I understand is that a type of a complete object is of "most-derived" class type.

I can't understand the wording in this quote from the standard:
