template <typename R>

class ReturnAction

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

The general implementation of Return(R). Specializations follow below.

Public Methods

void ReturnAction<R> (R value)

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

template <typename U, typename... Args, typename = typename std::enable_if<conjunction<
                                    // See the requirements documented on Return.
                                    negation<std::is_same<void, U>>,  //
                                    negation<std::is_reference<U>>,   //
                                    std::is_convertible<R, U>,        //
                                    std::is_move_constructible<U>>::value>::type>
OnceAction<U (Args...)> operator testing::OnceAction<type-parameter-1-0 (type-parameter-1-1...)> ()

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

template <typename U, typename... Args, typename = typename std::enable_if<conjunction<
                                    // See the requirements documented on Return.
                                    negation<std::is_same<void, U>>,   //
                                    negation<std::is_reference<U>>,    //
                                    std::is_convertible<const R&, U>,  //
                                    std::is_copy_constructible<U>>::value>::type>
Action<U (Args...)> operator testing::Action<type-parameter-1-0 (type-parameter-1-1...)> ()

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

Records