LLVM  4.0.0
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
llvm::detail::has_FormatProvider< T > Class Template Reference

#include <FormatVariadicDetails.h>

Collaboration diagram for llvm::detail::has_FormatProvider< T >:
[legend]

Public Types

using Decayed = typename std::decay< T >::type
 
typedef void(* Signature_format )(const Decayed &, llvm::raw_ostream &, StringRef)
 

Static Public Member Functions

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

Static Public Attributes

static bool const value
 

Detailed Description

template<class T>
class llvm::detail::has_FormatProvider< T >

Definition at line 47 of file FormatVariadicDetails.h.

Member Typedef Documentation

template<class T >
using llvm::detail::has_FormatProvider< T >::Decayed = typename std::decay<T>::type

Definition at line 49 of file FormatVariadicDetails.h.

template<class T >
typedef void(* llvm::detail::has_FormatProvider< T >::Signature_format)(const Decayed &, llvm::raw_ostream &, StringRef)

Definition at line 50 of file FormatVariadicDetails.h.

Member Function Documentation

template<class T >
template<typename U >
static char llvm::detail::has_FormatProvider< T >::test ( SameType< Signature_format,&U::format > *  )
static
template<class T >
template<typename U >
static double llvm::detail::has_FormatProvider< T >::test (   ...)
static

Member Data Documentation

template<class T >
bool const llvm::detail::has_FormatProvider< T >::value
static
Initial value:
=
(sizeof(test<llvm::format_provider<Decayed>>(nullptr)) == 1)

Definition at line 58 of file FormatVariadicDetails.h.


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