QuickCppLib 0.10
Eliminate all the tedious hassle when making state-of-the-art C++ 14 - 23 libraries!
Loading...
Searching...
No Matches
std::experimental::is_assignable< T, U > Struct Template Reference

#include "optional.hpp"

Static Public Member Functions

template<class X , class Y >
static constexpr bool has_assign (...)
 
template<class X , class Y , size_t S = sizeof((std::declval<X>() = std::declval<Y>(), true))>
static constexpr bool has_assign (bool)
 

Static Public Attributes

static constexpr bool value = has_assign<T, U>(true)
 

Member Function Documentation

◆ has_assign() [1/2]

template<class T , class U >
template<class X , class Y >
static constexpr bool std::experimental::is_assignable< T, U >::has_assign (   ...)
inlinestaticconstexpr
142{ return false; }

◆ has_assign() [2/2]

template<class T , class U >
template<class X , class Y , size_t S = sizeof((std::declval<X>() = std::declval<Y>(), true))>
static constexpr bool std::experimental::is_assignable< T, U >::has_assign ( bool  )
inlinestaticconstexpr
146{ return true; }

Member Data Documentation

◆ value

template<class T , class U >
constexpr bool std::experimental::is_assignable< T, U >::value = has_assign<T, U>(true)
staticconstexpr

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