Relative Content

Tag Archive for c++virtual

what can I do with a returned virtual object in c++?

I’m new with C++, and I found some virtual-related code in a “.h” file that I could not really understand. There is a class named NetDeviceContainer which is used in the following class WifiHelper. The following two methods in WifiHelper confused me: