25struct Stealable : etl::bidirectional_link<0> {
26 using link_type = etl::bidirectional_link<0>;
28 Stealable() =
default;
29 virtual ~Stealable() {
35 virtual bool mayBeStolen(
void* thingNotToStealFrom) = 0;
36 virtual void steal(
char const* errorCode) = 0;
37 [[nodiscard]]
virtual StealableQueue getAppropriateQueue()
const = 0;
39 uint32_t lastTraversalNo = 0xFFFFFFFF;
44 return this == &other;
bool operator==(const Stealable &other) const
Object equality is based on pointer equality.
Definition stealable.h:43