tesseract v5.3.3.20231005
testing::internal::ReturnArgAction< k > Struct Template Reference

#include <gmock-actions.h>

Public Member Functions

template<typename... Args>
auto operator() (const Args &... args) const -> typename std::tuple_element< k, std::tuple< Args... > >::type
 

Detailed Description

template<size_t k>
struct testing::internal::ReturnArgAction< k >

Definition at line 1080 of file gmock-actions.h.

Member Function Documentation

◆ operator()()

template<size_t k>
template<typename... Args>
auto testing::internal::ReturnArgAction< k >::operator() ( const Args &...  args) const -> typename std::tuple_element<k, std::tuple<Args...>>::type
inline

Definition at line 1082 of file gmock-actions.h.

1083 {
1084 return std::get<k>(std::tie(args...));
1085 }

The documentation for this struct was generated from the following file: