LLVM 20.0.0git
Static Public Member Functions | Static Public Attributes | List of all members
llvm::is_copy_assignable< T > Struct Template Reference

#include "llvm/Support/type_traits.h"

Static Public Member Functions

template<class F >
static auto get (F *) -> decltype(std::declval< F & >()=std::declval< const F & >(), std::true_type{})
 
static std::false_type get (...)
 

Static Public Attributes

static constexpr bool value = decltype(get((T*)nullptr))::value
 

Detailed Description

template<typename T>
struct llvm::is_copy_assignable< T >

Definition at line 80 of file type_traits.h.

Member Function Documentation

◆ get() [1/2]

template<typename T >
static std::false_type llvm::is_copy_assignable< T >::get (   ...)
static

◆ get() [2/2]

template<typename T >
template<class F >
static auto llvm::is_copy_assignable< T >::get ( F ) -> decltype(std::declval< F & >()=std::declval< const F & >(), std::true_type{})
static

Member Data Documentation

◆ value

template<typename T >
constexpr bool llvm::is_copy_assignable< T >::value = decltype(get((T*)nullptr))::value
staticconstexpr

Definition at line 84 of file type_traits.h.


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