C++ Logo

std-discussion

Advanced search

Construction and destruction

From: Vladimir Grigoriev <vlad.moscow_at_[hidden]>
Date: Sat, 28 Aug 2021 13:10:31 +0300
This phrase in the paragraph #4 of the section «Construction and destruction»
 
«If the virtual function call uses an explicit class member access (7.6.1.4) and the object expression refers to the complete object of x or one of that object’s base class subobjects but not x or one of its base class subobjects, the behavior is undefined.»
 
What is the difference between the complete object of x or one of that object’s base class subobjects and the x or one of its base class subobjects?
 
With best regards,
(Vlad from Moscow)
 
You can meet me at http://cpp.forum24.ru/ or www.stackoverflow.com or http://ru.stackoverflow.com

Received on 2021-08-28 05:11:01