template <typename FunctionImpl>

struct InvokeWithoutArgsAction

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

Implements the InvokeWithoutArgs(f) action. The template argument

FunctionImpl is the implementation type of f, which can be either a

function pointer or a functor. InvokeWithoutArgs(f) can be used as an

Action

<F

> as long as f's type is compatible with F.

Public Members

FunctionImpl function_impl

Public Methods

template <typename... Args>
decltype(this->function_impl()) operator() (const Args &... )

Allows InvokeWithoutArgs(f) to be used as any action whose type is

compatible with f.

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