|
LLVM
8.0.1
|
Type trait to check for a traits class that has a createNode member. More...
#include "llvm/ADT/ilist.h"

Classes | |
| struct | SFINAE |
Public Types | |
| typedef char | Yes[1] |
| typedef char | No[2] |
Static Public Member Functions | |
| template<class U > | |
| static Yes & | test (U *I, decltype(I->createNode(make< NodeT >())) *=0) |
| template<class > | |
| static No & | test (...) |
Static Public Attributes | |
| static const bool | value = sizeof(test<TraitsT>(nullptr)) == sizeof(Yes) |
Type trait to check for a traits class that has a createNode member.
Allocation should be managed in a wrapper class, instead of in ilist_traits.
| typedef char llvm::ilist_detail::HasCreateNode< TraitsT, NodeT >::No[2] |
| typedef char llvm::ilist_detail::HasCreateNode< TraitsT, NodeT >::Yes[1] |
|
static |
|
static |
1.8.13