template <typename T>

class ReturnAction

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

A specialization of ReturnAction

<R

> when R is ByMoveWrapper

<T

> for some T.

This version applies the type system-defeating hack of moving from T even in

the const call operator, checking at runtime that it isn't called more than

once, since the user has declared their intent to do so by using ByMove.

Public Methods

void ReturnAction<ByMoveWrapper<T> > (ByMoveWrapper<T> wrapper)

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

T operator() ()

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