diff options
Diffstat (limited to 'include/stdalgo.h')
-rw-r--r-- | include/stdalgo.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/stdalgo.h b/include/stdalgo.h index 3cbb86350..1ae5b8ae1 100644 --- a/include/stdalgo.h +++ b/include/stdalgo.h @@ -75,4 +75,13 @@ namespace stdalgo delete o; } }; + + /** + * Deleter that adds the item to the cull list, that is, queues it for + * deletion at the end of the current mainloop iteration + */ + struct culldeleter + { + void operator()(classbase* item); + }; } |