LLVM 22.0.0git
llvm::yaml::has_MappingEnumInputTraits< T, Context > Struct Template Reference

#include "llvm/Support/YAMLTraits.h"

Inheritance diagram for llvm::yaml::has_MappingEnumInputTraits< T, Context >:
[legend]

Public Types

using SignatureEnumInput = void (*)(class IO &, T &)
template<class U>
using check = SameType<SignatureEnumInput, &U::enumInput>

Static Public Attributes

static constexpr bool value

Detailed Description

template<class T, class Context>
struct llvm::yaml::has_MappingEnumInputTraits< T, Context >

Definition at line 408 of file YAMLTraits.h.

Member Typedef Documentation

◆ check

template<class T, class Context>
template<class U>
using llvm::yaml::has_MappingEnumInputTraits< T, Context >::check = SameType<SignatureEnumInput, &U::enumInput>

Definition at line 411 of file YAMLTraits.h.

◆ SignatureEnumInput

template<class T, class Context>
using llvm::yaml::has_MappingEnumInputTraits< T, Context >::SignatureEnumInput = void (*)(class IO &, T &)

Definition at line 409 of file YAMLTraits.h.

Member Data Documentation

◆ value

template<class T, class Context>
bool llvm::yaml::has_MappingEnumInputTraits< T, Context >::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 413 of file YAMLTraits.h.

Referenced by llvm::yaml::yamlizeMappingEnumInput().


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