LLVM  6.0.0svn
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
llvm::yaml::has_ScalarEnumerationTraits< T > Struct Template Reference

#include "llvm/Support/YAMLTraits.h"

Collaboration diagram for llvm::yaml::has_ScalarEnumerationTraits< T >:
Collaboration graph
[legend]

Public Types

using Signature_enumeration = void(*)(class IO &, T &)
 

Static Public Member Functions

template<typename U >
static char test (SameType< Signature_enumeration, &U::enumeration > *)
 
template<typename U >
static double test (...)
 

Static Public Attributes

static bool const value
 

Detailed Description

template<class T>
struct llvm::yaml::has_ScalarEnumerationTraits< T >

Definition at line 236 of file YAMLTraits.h.

Member Typedef Documentation

◆ Signature_enumeration

template<class T >
using llvm::yaml::has_ScalarEnumerationTraits< T >::Signature_enumeration = void (*)(class IO&, T&)

Definition at line 238 of file YAMLTraits.h.

Member Function Documentation

◆ test() [1/2]

template<class T >
template<typename U >
static char llvm::yaml::has_ScalarEnumerationTraits< T >::test ( SameType< Signature_enumeration, &U::enumeration > *  )
static

◆ test() [2/2]

template<class T >
template<typename U >
static double llvm::yaml::has_ScalarEnumerationTraits< T >::test (   ...)
static

Member Data Documentation

◆ value

template<class T >
bool const llvm::yaml::has_ScalarEnumerationTraits< T >::value
static
Initial value:
=
(sizeof(test<ScalarEnumerationTraits<T>>(nullptr)) == 1)

Definition at line 247 of file YAMLTraits.h.


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