LLVM  9.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

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 133 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

Definition at line 135 of file type_traits.h.

◆ get() [2/2]

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

Member Data Documentation

◆ value

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

Definition at line 137 of file type_traits.h.

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