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

#include "llvm/Support/YAMLTraits.h"

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

Public Types

using Signature_input = StringRef(*)(StringRef, void *, T &)
 
using Signature_output = void(*)(const T &, void *, raw_ostream &)
 

Static Public Member Functions

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

Static Public Attributes

static bool const value
 

Detailed Description

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

Definition at line 290 of file YAMLTraits.h.

Member Typedef Documentation

template<class T >
using llvm::yaml::has_BlockScalarTraits< T >::Signature_input = StringRef (*)(StringRef, void *, T &)

Definition at line 292 of file YAMLTraits.h.

template<class T >
using llvm::yaml::has_BlockScalarTraits< T >::Signature_output = void (*)(const T &, void *, raw_ostream &)

Definition at line 293 of file YAMLTraits.h.

Member Function Documentation

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

Member Data Documentation

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

Definition at line 303 of file YAMLTraits.h.


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