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

#include "llvm/Support/YAMLTraits.h"

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

Public Types

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

Static Public Attributes

static constexpr bool value

Detailed Description

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

Definition at line 370 of file YAMLTraits.h.

Member Typedef Documentation

◆ check

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

Definition at line 373 of file YAMLTraits.h.

◆ SignatureMapping

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

Definition at line 371 of file YAMLTraits.h.

Member Data Documentation

◆ value

template<class T, class Context>
bool llvm::yaml::has_MappingTraits< 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'.
Definition STLExtras.h:79
static constexpr bool value

Definition at line 375 of file YAMLTraits.h.


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