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

#include <YAMLTraits.h>

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

Public Types

typedef StringRef(* Signature_input )(StringRef, void *, T &)
 
typedef void(* Signature_output )(const T &, void *, llvm::raw_ostream &)
 
typedef bool(* Signature_mustQuote )(StringRef)
 

Static Public Member Functions

template<typename U >
static char test (SameType< Signature_input,&U::input > *, SameType< Signature_output,&U::output > *, SameType< Signature_mustQuote,&U::mustQuote > *)
 
template<typename U >
static double test (...)
 

Static Public Attributes

static bool const value
 

Detailed Description

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

Definition at line 236 of file YAMLTraits.h.

Member Typedef Documentation

template<class T >
typedef StringRef(* llvm::yaml::has_ScalarTraits< T >::Signature_input)(StringRef, void *, T &)

Definition at line 238 of file YAMLTraits.h.

template<class T >
typedef bool(* llvm::yaml::has_ScalarTraits< T >::Signature_mustQuote)(StringRef)

Definition at line 240 of file YAMLTraits.h.

template<class T >
typedef void(* llvm::yaml::has_ScalarTraits< T >::Signature_output)(const T &, void *, llvm::raw_ostream &)

Definition at line 239 of file YAMLTraits.h.

Member Function Documentation

template<class T >
template<typename U >
static char llvm::yaml::has_ScalarTraits< T >::test ( SameType< Signature_input,&U::input > *  ,
SameType< Signature_output,&U::output > *  ,
SameType< Signature_mustQuote,&U::mustQuote > *   
)
static
template<class T >
template<typename U >
static double llvm::yaml::has_ScalarTraits< T >::test (   ...)
static

Member Data Documentation

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

Definition at line 251 of file YAMLTraits.h.


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