« first day (2148 days earlier)      last day (711 days later) » 

8:51 PM
Assuming a multithreaded application. Would it make sense to have an abstract class called "task" with pure virtual members such as run and stop in order to enforce the usage of those functions to everybody who creates a new task in the application. And, obviously, everybody will be forced to inherit from the "task" base class. Otherwise that would be useless.
Or is that too far fetched? Don't know whether this is common practice in cpp
 

« first day (2148 days earlier)      last day (711 days later) »