|
LLVM
8.0.1
|
Type trait to check for a traits class that has a createSentinel member (as a canary for any of the ilist_sentinel_traits API). More...
#include "llvm/ADT/ilist.h"

Public Types | |
| typedef char | Yes[1] |
| typedef char | No[2] |
Static Public Member Functions | |
| template<class U > | |
| static Yes & | test (U *I, decltype(I->createSentinel()) *=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 createSentinel member (as a canary for any of the ilist_sentinel_traits API).
| typedef char llvm::ilist_detail::HasCreateSentinel< TraitsT >::No[2] |
| typedef char llvm::ilist_detail::HasCreateSentinel< TraitsT >::Yes[1] |
|
static |
|
static |
1.8.13