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

#include "llvm/Support/YAMLTraits.h"

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

Public Types

using SignatureValidate = std::string (*)(class IO &, T &, Context &)
template<class U>
using check = SameType<SignatureValidate, &U::validate>

Static Public Attributes

static constexpr bool value

Detailed Description

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

Definition at line 389 of file YAMLTraits.h.

Member Typedef Documentation

◆ check

template<class T, class Context>
template<class U>
using llvm::yaml::has_MappingValidateTraits< T, Context >::check = SameType<SignatureValidate, &U::validate>

Definition at line 392 of file YAMLTraits.h.

◆ SignatureValidate

template<class T, class Context>
using llvm::yaml::has_MappingValidateTraits< T, Context >::SignatureValidate = std::string (*)(class IO &, T &, Context &)

Definition at line 390 of file YAMLTraits.h.

Member Data Documentation

◆ value

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


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