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

#include "llvm/Support/YAMLTraits.h"

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

Public Types

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

Static Public Attributes

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

Detailed Description

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

Definition at line 380 of file YAMLTraits.h.

Member Typedef Documentation

◆ check

template<class T>
template<class U>
using llvm::yaml::has_MappingTraits< T, EmptyContext >::check = SameType<SignatureMapping, &U::mapping>

Definition at line 383 of file YAMLTraits.h.

◆ SignatureMapping

template<class T>
using llvm::yaml::has_MappingTraits< T, EmptyContext >::SignatureMapping = void (*)(class IO &, T &)

Definition at line 381 of file YAMLTraits.h.

Member Data Documentation

◆ value

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

Definition at line 385 of file YAMLTraits.h.


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