[Bug c++/36911] Virtual function problem

2008-07-23 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-07-23 18:14 --- Yes this is correct as you are calling the virtual function inside a constructor which means the virtual of that class is going to be called always ... This is the only way you can call a pure virtual function in fa

[Bug c++/36911] Virtual function problem

2008-07-23 Thread brian at dessent dot net
--- Comment #1 from brian at dessent dot net 2008-07-23 18:10 --- Subject: Re: New: Virtual function problem The behavior is correct, see . -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36911