LLVM 22.0.0git
llvm::yaml::has_PolymorphicTraits< T > Struct Template Reference

#include "llvm/Support/YAMLTraits.h"

Public Types

using SignatureGetKind = NodeKind (*)(const T &)
template<class U>
using check = SameType<SignatureGetKind, &U::getKind>

Static Public Attributes

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

Detailed Description

template<class T>
struct llvm::yaml::has_PolymorphicTraits< T >

Definition at line 475 of file YAMLTraits.h.

Member Typedef Documentation

◆ check

template<class T>
template<class U>
using llvm::yaml::has_PolymorphicTraits< T >::check = SameType<SignatureGetKind, &U::getKind>

Definition at line 478 of file YAMLTraits.h.

◆ SignatureGetKind

template<class T>
using llvm::yaml::has_PolymorphicTraits< T >::SignatureGetKind = NodeKind (*)(const T &)

Definition at line 476 of file YAMLTraits.h.

Member Data Documentation

◆ value

template<class T>
bool llvm::yaml::has_PolymorphicTraits< T >::value = is_detected<check, PolymorphicTraits<T>>::value
staticconstexpr

Definition at line 480 of file YAMLTraits.h.


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