proxygen
testing::internal::ReferenceOrValueWrapper< T > Class Template Reference

#include <gmock-spec-builders.h>

Public Member Functions

 ReferenceOrValueWrapper (T value)
 
T Unwrap ()
 
const TPeek () const
 
 ReferenceOrValueWrapper (T value)
 
T Unwrap ()
 
const TPeek () const
 
 ReferenceOrValueWrapper (T value)
 
T Unwrap ()
 
const TPeek () const
 

Private Attributes

T value_
 

Detailed Description

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

Definition at line 1302 of file gmock-spec-builders.h.

Constructor & Destructor Documentation

template<typename T >
testing::internal::ReferenceOrValueWrapper< T >::ReferenceOrValueWrapper ( T  value)
inlineexplicit

Definition at line 1305 of file gmock-spec-builders.h.

1307  }
static const char *const value
Definition: Conv.cpp:50
const T & move(const T &t)
Definition: gtest-port.h:1317
template<typename T >
testing::internal::ReferenceOrValueWrapper< T >::ReferenceOrValueWrapper ( T  value)
inlineexplicit

Definition at line 1305 of file gmock-spec-builders.h.

1307  }
static const char *const value
Definition: Conv.cpp:50
const T & move(const T &t)
Definition: gtest-port.h:1317
template<typename T >
testing::internal::ReferenceOrValueWrapper< T >::ReferenceOrValueWrapper ( T  value)
inlineexplicit

Definition at line 1305 of file gmock-spec-builders.h.

1307  }
static const char *const value
Definition: Conv.cpp:50
const T & move(const T &t)
Definition: gtest-port.h:1317

Member Function Documentation

template<typename T >
const T& testing::internal::ReferenceOrValueWrapper< T >::Peek ( ) const
inline

Definition at line 1318 of file gmock-spec-builders.h.

1318  {
1319  return value_;
1320  }
template<typename T >
const T& testing::internal::ReferenceOrValueWrapper< T >::Peek ( ) const
inline

Definition at line 1318 of file gmock-spec-builders.h.

References T.

1318  {
1319  return value_;
1320  }
template<typename T >
const T& testing::internal::ReferenceOrValueWrapper< T >::Peek ( ) const
inline

Definition at line 1318 of file gmock-spec-builders.h.

References T.

1318  {
1319  return value_;
1320  }
template<typename T >
T testing::internal::ReferenceOrValueWrapper< T >::Unwrap ( )
inline

Definition at line 1312 of file gmock-spec-builders.h.

References folly::gen::move.

template<typename T >
T testing::internal::ReferenceOrValueWrapper< T >::Unwrap ( )
inline

Definition at line 1312 of file gmock-spec-builders.h.

References folly::gen::move.

template<typename T >
T testing::internal::ReferenceOrValueWrapper< T >::Unwrap ( )
inline

Definition at line 1312 of file gmock-spec-builders.h.

References folly::gen::move.

Member Data Documentation

template<typename T >
T testing::internal::ReferenceOrValueWrapper< T >::value_
private

Definition at line 1323 of file gmock-spec-builders.h.


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