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

#include "llvm/Support/YAMLTraits.h"

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

Public Types

using Signature_mapping = void(*)(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 308 of file YAMLTraits.h.

Member Typedef Documentation

◆ Signature_mapping

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

Definition at line 309 of file YAMLTraits.h.

Member Function Documentation

◆ test() [1/2]

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

◆ test() [2/2]

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

Member Data Documentation

◆ value

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 318 of file YAMLTraits.h.


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