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>
using Signature_format
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>
using llvm::support::detail::has_FormatProvider< T >::Signature_format
Initial value:
void (*)(const Decayed &, llvm::raw_ostream &,
StringRef - Represent a constant reference to a string, i.e.
Definition StringRef.h:55
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition raw_ostream.h:53

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: