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

#include "llvm/Support/YAMLTraits.h"

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

Public Types

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

Static Public Attributes

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

Detailed Description

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

Definition at line 399 of file YAMLTraits.h.

Member Typedef Documentation

◆ check

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

Definition at line 402 of file YAMLTraits.h.

◆ SignatureValidate

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

Definition at line 400 of file YAMLTraits.h.

Member Data Documentation

◆ value

template<class T>
bool llvm::yaml::has_MappingValidateTraits< T, EmptyContext >::value = is_detected<check, MappingTraits<T>>::value
staticconstexpr

Definition at line 404 of file YAMLTraits.h.


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