April 26, 2004 Abstract class creation | ||||
---|---|---|---|---|
| ||||
With Digital Mars version 8.38.9n: class A { virtual void m1()=0; }; int main() { A(); } Creation of abstract classes is allowed as temporaries. Regards, Dimitri |
September 07, 2004 Re: Abstract class creation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dimitri Kaparis | But visual C++ won't let it pass, the pure virtual function is not defined... "Dimitri Kaparis" <dkaparis@universalstudyhelper.com> ??????:c6ii59$26s2$1@digitaldaemon.com... > With Digital Mars version 8.38.9n: > > class A > { > virtual void m1()=0; > }; > > int main() > { > A(); > } > > Creation of abstract classes is allowed as temporaries. > > Regards, > Dimitri |
Copyright © 1999-2021 by the D Language Foundation