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

#include "llvm/Support/YAMLTraits.h"

Collaboration diagram for llvm::yaml::has_MappingTraits< T, EmptyContext >:
Collaboration graph
[legend]

Public Types

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

Static Public Member Functions

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

Static Public Attributes

static bool const value = (sizeof(test<MappingTraits<T>>(nullptr)) == 1)
 

Detailed Description

template<class T>
struct llvm::yaml::has_MappingTraits< T, EmptyContext >

Definition at line 323 of file YAMLTraits.h.

Member Typedef Documentation

◆ Signature_mapping

template<class T >
using llvm::yaml::has_MappingTraits< T, EmptyContext >::Signature_mapping = void (*)(class IO &, T &)

Definition at line 324 of file YAMLTraits.h.

Member Function Documentation

◆ test() [1/2]

template<class T >
template<typename U >
static char llvm::yaml::has_MappingTraits< T, EmptyContext >::test ( SameType< Signature_mapping, &U::mapping > *  )
static

◆ test() [2/2]

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

Member Data Documentation

◆ value

template<class T >
bool const llvm::yaml::has_MappingTraits< T, EmptyContext >::value = (sizeof(test<MappingTraits<T>>(nullptr)) == 1)
static

Definition at line 332 of file YAMLTraits.h.


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