is_lvalue_reference Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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;

Parameters

Ty
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

<type_traits>
Lvalues and Rvalues

Show: