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

#include "llvm/Support/YAMLTraits.h"

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

Public Types

using Signature_size = size_t(*)(class IO &, T &)
 

Static Public Member Functions

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

Static Public Attributes

static bool const value = (sizeof(test<SequenceTraits<T>>(nullptr)) == 1)
 

Detailed Description

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

Definition at line 365 of file YAMLTraits.h.

Member Typedef Documentation

◆ Signature_size

template<class T >
using llvm::yaml::has_SequenceMethodTraits< T >::Signature_size = size_t (*)(class IO&, T&)

Definition at line 367 of file YAMLTraits.h.

Member Function Documentation

◆ test() [1/2]

template<class T >
template<typename U >
static char llvm::yaml::has_SequenceMethodTraits< T >::test ( SameType< Signature_size, &U::size > *  )
static

◆ test() [2/2]

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

Member Data Documentation

◆ value

template<class T >
bool const llvm::yaml::has_SequenceMethodTraits< T >::value = (sizeof(test<SequenceTraits<T>>(nullptr)) == 1)
static

Definition at line 376 of file YAMLTraits.h.


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