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

#include "llvm/Support/YAMLTraits.h"

Public Types

using SignatureInput = void (*)(IO &io, StringRef key, T &v)
template<class U>
using check = SameType<SignatureInput, &U::inputOne>

Static Public Attributes

static constexpr bool value

Detailed Description

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

Definition at line 436 of file YAMLTraits.h.

Member Typedef Documentation

◆ check

template<class T>
template<class U>
using llvm::yaml::has_CustomMappingTraits< T >::check = SameType<SignatureInput, &U::inputOne>

Definition at line 439 of file YAMLTraits.h.

◆ SignatureInput

template<class T>
using llvm::yaml::has_CustomMappingTraits< T >::SignatureInput = void (*)(IO &io, StringRef key, T &v)

Definition at line 437 of file YAMLTraits.h.

Member Data Documentation

◆ value

template<class T>
bool llvm::yaml::has_CustomMappingTraits< 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 441 of file YAMLTraits.h.


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