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

#include <YAMLTraits.h>

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

Public Types

typedef void(* Signature_mapping )(class IO &, T &, Context &)
 

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
 

Detailed Description

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

Definition at line 299 of file YAMLTraits.h.

Member Typedef Documentation

template<class T , class Context >
typedef void(* llvm::yaml::has_MappingTraits< T, Context >::Signature_mapping)(class IO &, T &, Context &)

Definition at line 300 of file YAMLTraits.h.

Member Function Documentation

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

Member Data Documentation

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

Definition at line 309 of file YAMLTraits.h.


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