Open Search
    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 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