LLVM  10.0.0svn
Static Public Member Functions | Static Public Attributes | List of all members
llvm::is_move_assignable< T > Struct Template Reference

#include "llvm/Support/type_traits.h"

Collaboration diagram for llvm::is_move_assignable< T >:
Collaboration graph
[legend]

Static Public Member Functions

template<class F >
static auto get (F *) -> decltype(std::declval< F &>()=std::declval< 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_move_assignable< T >

Definition at line 128 of file type_traits.h.

Member Function Documentation

◆ get() [1/2]

template<typename T>
template<class F >
static auto llvm::is_move_assignable< T >::get ( F ) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type
inlinestatic

Definition at line 130 of file type_traits.h.

◆ get() [2/2]

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

Member Data Documentation

◆ value

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

Definition at line 132 of file type_traits.h.


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