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

#include "llvm/Support/YAMLTraits.h"

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

Public Types

using Signature_input = void(*)(IO &io, StringRef key, T &v)
 

Static Public Member Functions

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

Static Public Attributes

static bool const value
 

Detailed Description

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

Definition at line 381 of file YAMLTraits.h.

Member Typedef Documentation

◆ Signature_input

template<class T >
using llvm::yaml::has_CustomMappingTraits< T >::Signature_input = void (*)(IO &io, StringRef key, T &v)

Definition at line 383 of file YAMLTraits.h.

Member Function Documentation

◆ test() [1/2]

template<class T >
template<typename U >
static char llvm::yaml::has_CustomMappingTraits< T >::test ( SameType< Signature_input, &U::inputOne > *  )
static

◆ test() [2/2]

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

Member Data Documentation

◆ value

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

Definition at line 392 of file YAMLTraits.h.


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