LLVM  4.0.0
Static Public Member Functions | List of all members
llvm::ilist_alloc_traits< NodeTy > Struct Template Reference

Use delete by default for iplist and ilist. More...

#include <ilist.h>

Inheritance diagram for llvm::ilist_alloc_traits< NodeTy >:
[legend]

Static Public Member Functions

static void deleteNode (NodeTy *V)
 

Detailed Description

template<typename NodeTy>
struct llvm::ilist_alloc_traits< NodeTy >

Use delete by default for iplist and ilist.

Specialize this to get different behaviour for ownership-related API. (If you really want ownership semantics, consider using std::list or building something like BumpPtrList.)

See Also
ilist_noalloc_traits

Definition at line 41 of file ilist.h.

Member Function Documentation

template<typename NodeTy>
void ilist_alloc_traits::deleteNode ( NodeTy *  V)
inlinestatic

Definition at line 42 of file ilist.h.


The documentation for this struct was generated from the following files: