CommonLValue< T, A, B > Class Template Reference

#include <apibase.h>

Public Types

using Base = typename std::decay< T >::type
 
using type = typename std::conditional< BOTH_DERIVED &&BOTH_LVALUES, typename ConstIf< Base, CONST_LVALUE >::type &, Base >::type
 

Static Public Attributes

static constexpr Bool BOTH_DERIVED
 
static constexpr Bool BOTH_LVALUES
 
static constexpr Bool CONST_LVALUE
 

Member Typedef Documentation

◆ Base

using Base = typename std::decay<T>::type

◆ type

using type = typename std::conditional<BOTH_DERIVED && BOTH_LVALUES, typename ConstIf<Base, CONST_LVALUE>::type&, Base>::type

Member Data Documentation

◆ BOTH_DERIVED

constexpr Bool BOTH_DERIVED
staticconstexpr

◆ BOTH_LVALUES

constexpr Bool BOTH_LVALUES
staticconstexpr

◆ CONST_LVALUE

constexpr Bool CONST_LVALUE
staticconstexpr