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 const Bool   BOTH_DERIVED
static const Bool   BOTH_LVALUES
static const 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

const Bool BOTH_DERIVED static

◆  BOTH_LVALUES

const Bool BOTH_LVALUES static

◆  CONST_LVALUE

const Bool CONST_LVALUE static