Xmipp  v3.23.11-Nereus
Public Member Functions | Public Attributes | List of all members
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 1705 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 1710 of file gmock-actions.h.

1710  {
1711  auto value = std::get<k>(std::tie(args...));
1712  for (auto it = first; it != last; ++it, (void)++value) {
1713  *value = *it;
1714  }
1715  }

Member Data Documentation

◆ first

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

Definition at line 1706 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 1707 of file gmock-actions.h.


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