LLVM 22.0.0git
llvm::yaml::has_ScalarTraits< T > Struct Template Reference

#include "llvm/Support/YAMLTraits.h"

Public Types

using SignatureInput = StringRef (*)(StringRef, void *, T &)
using SignatureOutput = void (*)(const T &, void *, raw_ostream &)
using SignatureMustQuote = QuotingType (*)(StringRef)
template<class U>
using check

Static Public Attributes

static constexpr bool value = is_detected<check, ScalarTraits<T>>::value

Detailed Description

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

Definition at line 328 of file YAMLTraits.h.

Member Typedef Documentation

◆ check

template<class T>
template<class U>
using llvm::yaml::has_ScalarTraits< T >::check
Initial value:

Definition at line 334 of file YAMLTraits.h.

◆ SignatureInput

template<class T>
using llvm::yaml::has_ScalarTraits< T >::SignatureInput = StringRef (*)(StringRef, void *, T &)

Definition at line 329 of file YAMLTraits.h.

◆ SignatureMustQuote

template<class T>
using llvm::yaml::has_ScalarTraits< T >::SignatureMustQuote = QuotingType (*)(StringRef)

Definition at line 331 of file YAMLTraits.h.

◆ SignatureOutput

template<class T>
using llvm::yaml::has_ScalarTraits< T >::SignatureOutput = void (*)(const T &, void *, raw_ostream &)

Definition at line 330 of file YAMLTraits.h.

Member Data Documentation

◆ value

template<class T>
bool llvm::yaml::has_ScalarTraits< T >::value = is_detected<check, ScalarTraits<T>>::value
staticconstexpr

Definition at line 338 of file YAMLTraits.h.


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