3 ms·
While the C++ community is largely moving away from OO, the features added to support OO are still in heavy use. For example, std::function is typically impleme
by plorkyeran 5y ago
While the C++ community is largely moving away from OO, the features added to support OO are still in heavy use. For example, std::function is typically implemented by holding a pointer to a templated subclass of a private abstract base class. There's still inheritance and virtual calls and such going on, and that's just not exposed as part of the API.