LLVM
8.0.1
|
Type trait to check for a traits class that has a getNext member (as a canary for any of the ilist_nextprev_traits API). 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->getNext(&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 getNext member (as a canary for any of the ilist_nextprev_traits API).
typedef char llvm::ilist_detail::HasGetNext< TraitsT, NodeT >::No[2] |
typedef char llvm::ilist_detail::HasGetNext< TraitsT, NodeT >::Yes[1] |
|
static |
|
static |