Custom traits to do nothing on deletion.
Synopsis
Declared in <llvm/ADT/ilist.h>
template<typename NodeTy>
struct ilist_noalloc_traits;
Description
Specialize ilist_alloc_traits to inherit from this to disable the non‐intrusive deletion in iplist (which implies ownership).
If you want purely intrusive semantics with no callbacks, consider using simple_ilist instead.
template <>
struct ilist_alloc_traits<MyType> : ilist_noalloc_traits<MyType> {};
Static Member Functions
Name |
Description |
No‐op deleter for nodes not owned by the list. |
Created with MrDocs