revert RCU changes back to union-based solution to fix strict-aliasing; another ...
[ardour.git] / libs / pbd / pbd / statefuldestructible.h
1 #ifndef __pbd_stateful_destructible_h__
2 #define __pbd_stateful_destructible_h__
3
4 #include <pbd/stateful.h>
5 #include <pbd/destructible.h>
6
7 namespace PBD {
8
9 class StatefulDestructible : public Stateful, public Destructible 
10 {
11 };
12
13 /* be very very careful using this class. it does not inherit from sigc::trackable and thus
14    should only be used in multiple-inheritance situations involving another type
15    that does inherit from sigc::trackable (or sigc::trackable itself)
16 */
17
18 class StatefulThingWithGoingAway : public Stateful, public ThingWithGoingAway
19 {
20 };
21
22 }
23
24
25 #endif /* __pbd_stateful_destructible_h__ */