C++ header file and function declaration ending in “= 0”
This is a pure virtual function. This means, that subclasses have to implement this function, otherwise they are abstract, meaning you cannot create objects of that class. class ISomeInterface { public: virtual std::string ToString( ) = 0; } class SomeInterfaceImpl : public ISomeInterface { public: virtual std::string ToString( ) { return “SomeInterfaceImpl”; } } The …