fork download
  1. class A {
  2. public:
  3. class B {
  4. };
  5. private:
  6. virtual bool DoStuff(const B& b) = 0;
  7. };
  8.  
  9. class X : public A {
  10. // ...
  11. private:
  12. virtual bool DoStuff(const B& b) {};
  13. bool UseBForSomethingElse(const B& b) {};
  14. };
  15.  
  16. int main(){}
Success #stdin #stdout 0.02s 2676KB
stdin
Standard input is empty
stdout

Standard output is empty