template <typename T>

class ReturnRefOfCopyAction

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

Implements the polymorphic ReturnRefOfCopy(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 ReturnRefOfCopyAction<T> (const T & value)

Constructs a ReturnRefOfCopyAction object from the reference to

be returned.

Defined at line 1195 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 ReturnRefOfCopy(x) to be

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

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

Records