LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::ReferenceStorage< T > Class Template Reference

Stores a reference that can be changed. More...

#include "llvm/Support/ErrorOr.h"

Public Member Functions

 ReferenceStorage (T &Ref)
 
 operator T& () const
 
Tget () const
 

Detailed Description

template<typename T>
class llvm::ReferenceStorage< T >

Stores a reference that can be changed.

Definition at line 29 of file ErrorOr.h.

Constructor & Destructor Documentation

◆ ReferenceStorage()

template<typename T >
llvm::ReferenceStorage< T >::ReferenceStorage ( T Ref)
inline

Definition at line 33 of file ErrorOr.h.

Member Function Documentation

◆ get()

template<typename T >
T& llvm::ReferenceStorage< T >::get ( ) const
inline

Definition at line 36 of file ErrorOr.h.

Referenced by llvm::ErrorOr< T >::operator*(), and llvm::Expected< T >::operator*().

◆ operator T&()

template<typename T >
llvm::ReferenceStorage< T >::operator T & ( ) const
inline

Definition at line 35 of file ErrorOr.h.


The documentation for this class was generated from the following file: