Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+2
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
~109 People Reached
Favorite Forums
Favorite Tags
c++ x 5
Member Avatar for toitoi

Hi, If I static cast an object of a derived class to its base class, the object's virtual methods should be those of the base class. But this doesn't seem to be the case if I call such a virtual method via another method. The following is an extremely simplified …

Member Avatar for toitoi
2
109