Language
Compiler
Options
$ pure virtual method called
terminate called without an active exception
Signal:
Aborted
Author
anonymous
about 10 years ago
Author
anonymous
about 10 years ago
$ prog.cc:5:14: warning: call to pure virtual member function 'doIt'; overrides of 'doIt' in subclasses are not available in the constructor of 'Base'
Base() { doIt(); }
^
prog.cc:6:5: note: 'doIt' declared here
virtual void doIt() = 0;
^
1 warning generated.
pure virtual method called
terminate called without an active exception