Partager via


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.

Syntax

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

<type_traits>
Lvalues and Rvalues