Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::internal::ReferenceWrapper< T > Class Template Reference

#include <gmock-actions.h>

Public Member Functions

 ReferenceWrapper (T &l_value)
 
 operator T& () const
 

Detailed Description

template<typename T>
class testing::internal::ReferenceWrapper< T >

Definition at line 1001 of file gmock-actions.h.

Constructor & Destructor Documentation

◆ ReferenceWrapper()

template<typename T >
testing::internal::ReferenceWrapper< T >::ReferenceWrapper ( T & l_value)
inlineexplicit

Definition at line 1004 of file gmock-actions.h.

1004: pointer_(&l_value) {} // NOLINT

Member Function Documentation

◆ operator T&()

template<typename T >
testing::internal::ReferenceWrapper< T >::operator T& ( ) const
inline

Definition at line 1008 of file gmock-actions.h.

1008{ return *pointer_; }

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