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

#include "llvm/Support/YAMLTraits.h"

Public Types

using SignatureSize = size_t (*)(class IO &, T &)
template<class U>
using check = SameType<SignatureSize, &U::size>

Static Public Attributes

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

Detailed Description

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

Definition at line 427 of file YAMLTraits.h.

Member Typedef Documentation

◆ check

template<class T>
template<class U>
using llvm::yaml::has_SequenceMethodTraits< T >::check = SameType<SignatureSize, &U::size>

Definition at line 430 of file YAMLTraits.h.

◆ SignatureSize

template<class T>
using llvm::yaml::has_SequenceMethodTraits< T >::SignatureSize = size_t (*)(class IO &, T &)

Definition at line 428 of file YAMLTraits.h.

Member Data Documentation

◆ value

template<class T>
bool llvm::yaml::has_SequenceMethodTraits< T >::value = is_detected<check, SequenceTraits<T>>::value
staticconstexpr

Definition at line 432 of file YAMLTraits.h.


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