LLVM 22.0.0git
llvm::support::detail::has_FormatProvider< T > Class Template Reference

#include "llvm/Support/FormatVariadicDetails.h"

Public Types

using Decayed = std::decay_t<T>
typedef void(* Signature_format) (const Decayed &, llvm::raw_ostream &, StringRef)
template<typename U>
using check = SameType<Signature_format, &U::format>

Static Public Attributes

static constexpr bool value

Detailed Description

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

Definition at line 63 of file FormatVariadicDetails.h.

Member Typedef Documentation

◆ check

template<class T>
template<typename U>
using llvm::support::detail::has_FormatProvider< T >::check = SameType<Signature_format, &U::format>

Definition at line 69 of file FormatVariadicDetails.h.

◆ Decayed

template<class T>
using llvm::support::detail::has_FormatProvider< T >::Decayed = std::decay_t<T>

Definition at line 65 of file FormatVariadicDetails.h.

◆ Signature_format

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

Definition at line 66 of file FormatVariadicDetails.h.

Member Data Documentation

◆ value

template<class T>
bool llvm::support::detail::has_FormatProvider< T >::value
staticconstexpr
Initial value:
=
typename detail::detector< void, Op, Args... >::value_t is_detected
Detects if a given trait holds for some set of arguments 'Args'.
static constexpr bool value

Definition at line 71 of file FormatVariadicDetails.h.


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