is_lvalue_reference Class

Tests if type is an lvalue reference.

template<class Ty>
    struct is_lvalue_reference;

Parameters

  • Ty
    The type to query.

Remarks

An instance of this type predicate holds true if the type Ty is a reference to an object or to a function, otherwise it holds false. Note that Ty may not be an rvalue reference. For more information about rvalues, see Rvalue Reference Declarator: &&.

Requirements

Header: <type_traits>

Namespace: std

See Also

Reference

<type_traits>

Lvalues and Rvalues

Other Resources

<type_traits> Members