tesseract v5.3.3.20231005
testing::internal::SaveArgPointeeAction< k, Ptr > Struct Template Reference

#include <gmock-actions.h>

Public Member Functions

template<typename... Args>
void operator() (const Args &... args) const
 

Public Attributes

Ptr pointer
 

Detailed Description

template<size_t k, typename Ptr>
struct testing::internal::SaveArgPointeeAction< k, Ptr >

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

Member Function Documentation

◆ operator()()

template<size_t k, typename Ptr >
template<typename... Args>
void testing::internal::SaveArgPointeeAction< k, Ptr >::operator() ( const Args &...  args) const
inline

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

1103 {
1104 *pointer = *std::get<k>(std::tie(args...));
1105 }

Member Data Documentation

◆ pointer

template<size_t k, typename Ptr >
Ptr testing::internal::SaveArgPointeeAction< k, Ptr >::pointer

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


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