What is a virtual data member? RRS feed

  • Question

  • The microsoft docs, specifically this page emphatically refers to virtual data members.

    This attribute can be applied to non-static "virtual data members" in a class or structure definition. The compiler treats these "virtual data members" as data members by changing their references into function calls.

    What is that?

    Saturday, October 10, 2020 8:56 AM