[tsc-devel] Re: The abstract cScene class...
datahead |
Wed, 21 Oct 2015 05:21:18 UTC
Post via forum by datahead <…9@x…>:
This was done with commit id 3551037c8647d45bc877bbedf337710b17173e31.
[quote]It may happen later that
we want to implement behaviour that is common to all scenes, but in that
case we can just remove the purely virtual definition again.[/quote]
We could also try the trick outlined in the website to which I linked, which suggests it is possible to have implementations for pure virtual functions. This way it is still an abstract class from C++'s perspective.
--
Sent by Chessboard.