LLVM  6.0.0svn
Classes | Static Public Member Functions | Static Public Attributes | List of all members
llvm::yaml::has_FlowTraits< T, true > Struct Template Reference

#include "llvm/Support/YAMLTraits.h"

Collaboration diagram for llvm::yaml::has_FlowTraits< T, true >:
Collaboration graph
[legend]

Classes

struct  Derived
 
struct  Fallback
 

Static Public Member Functions

template<typename C >
static char(& f (SameType< bool Fallback::*, &C::flow > *))[1]
 
template<typename C >
static char(& f (...))[2]
 

Static Public Attributes

static bool const value = sizeof(f<Derived>(nullptr)) == 2
 

Detailed Description

template<class T>
struct llvm::yaml::has_FlowTraits< T, true >

Definition at line 410 of file YAMLTraits.h.

Member Function Documentation

◆ f() [1/2]

template<class T >
template<typename C >
static char(& llvm::yaml::has_FlowTraits< T, true >::f ( SameType< bool Fallback::*, &C::flow > *  ) )[1]
static

◆ f() [2/2]

template<class T >
template<typename C >
static char(& llvm::yaml::has_FlowTraits< T, true >::f (   ...) )[2]
static

Member Data Documentation

◆ value

template<class T >
bool const llvm::yaml::has_FlowTraits< T, true >::value = sizeof(f<Derived>(nullptr)) == 2
static

Definition at line 422 of file YAMLTraits.h.


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