template <typename T>

class ReturnRefAction

Defined at line 1150 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-actions.h

Implements the polymorphic ReturnRef(x) action, which can be used

in any function that returns a reference to the type of x,

regardless of the argument types.

Public Methods

void ReturnRefAction<T> (T & ref)

Constructs a ReturnRefAction object from the reference to be returned.

Defined at line 1153 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-actions.h

template <typename F>
Action<F> operator testing::Action<type-parameter-1-0> ()

This template type conversion operator allows ReturnRef(x) to be

used in ANY function that returns a reference to x's type.

Defined at line 1158 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-actions.h

Records