tesseract v5.3.3.20231005
testing::internal::SetArrayArgumentAction< k, I1, I2 > Struct Template Reference

#include <gmock-actions.h>

Public Member Functions

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

Public Attributes

I1 first
 
I2 last
 

Detailed Description

template<size_t k, typename I1, typename I2>
struct testing::internal::SetArrayArgumentAction< k, I1, I2 >

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

Member Function Documentation

◆ operator()()

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

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

1128 {
1129 auto value = std::get<k>(std::tie(args...));
1130 for (auto it = first; it != last; ++it, (void)++value) {
1131 *value = *it;
1132 }
1133 }
int value

Member Data Documentation

◆ first

template<size_t k, typename I1 , typename I2 >
I1 testing::internal::SetArrayArgumentAction< k, I1, I2 >::first

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

◆ last

template<size_t k, typename I1 , typename I2 >
I2 testing::internal::SetArrayArgumentAction< k, I1, I2 >::last

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


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