[fpc-pascal] Use of abstract classes
paul.ishenin at gmail.com
Tue Jan 8 13:29:33 CET 2013
08.01.13, 19:48, Michael Fuchs пишет:
> I thougt this would cause a compiler error, while creating a abstract
> class. Surprisingly it compiles, even without a warning.
> Do I have to use any compiler switches or is there no sense in using the
> abstract keyword for a class?
Abstract class feature is implemented the same way as it is done in
delphi. In delphi it does not raise any error, so it works in FPC. The
only limitation is that you can't both set sealed and abstract for the
Maybe later delphi will come with some extra checks for abstract classes
and then FPC will follow.
More information about the fpc-pascal