Partager via


RemoveReference Structure

 

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 RemoveReference Structure.

Supports the WRL infrastructure and is not intended to be used directly from your code.

Syntax

template<  
   class T  
>  
struct RemoveReference;  
template<  
   class T  
>  
struct RemoveReference<T&>;  
template<  
   class T  
>  
struct RemoveReference<T&&>;  

Parameters

T
A class.

Remarks

Strips the reference or rvalue-reference trait from the specified class template parameter.

Members

Public Typedefs

Name Description
Type Synonym for the class template parameter.

Inheritance Hierarchy

RemoveReference

Requirements

Header: internal.h

Namespace: Microsoft::WRL::Details

See Also

Microsoft::WRL::Details Namespace