We recommend using Visual Studio 2017

is_lvalue_reference Class


The latest version of this topic can be found at is_lvalue_reference Class.

Tests if type is an lvalue reference.

template <class Ty>
struct is_lvalue_reference;


The type to query.

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: &&.

Header: <type_traits>

Namespace: std

Lvalues and Rvalues