tesseract v5.3.3.20231005
testing::internal::StlContainerView< Element[N]> Class Template Reference

#include <gmock-internal-utils.h>

Public Types

typedef std::remove_const< Element >::type RawElement
 
typedef internal::NativeArray< RawElementtype
 
typedef const type const_reference
 

Static Public Member Functions

static const_reference ConstReference (const Element(&array)[N])
 
static type Copy (const Element(&array)[N])
 

Detailed Description

template<typename Element, size_t N>
class testing::internal::StlContainerView< Element[N]>

Definition at line 340 of file gmock-internal-utils.h.

Member Typedef Documentation

◆ const_reference

template<typename Element , size_t N>
typedef const type testing::internal::StlContainerView< Element[N]>::const_reference

Definition at line 349 of file gmock-internal-utils.h.

◆ RawElement

template<typename Element , size_t N>
typedef std::remove_const<Element>::type testing::internal::StlContainerView< Element[N]>::RawElement

Definition at line 342 of file gmock-internal-utils.h.

◆ type

template<typename Element , size_t N>
typedef internal::NativeArray<RawElement> testing::internal::StlContainerView< Element[N]>::type

Definition at line 343 of file gmock-internal-utils.h.

Member Function Documentation

◆ ConstReference()

template<typename Element , size_t N>
static const_reference testing::internal::StlContainerView< Element[N]>::ConstReference ( const Element(&)  array[N])
inlinestatic

Definition at line 351 of file gmock-internal-utils.h.

351 {
353 "Element type must not be const");
354 return type(array, N, RelationToSourceReference());
355 }
int value

◆ Copy()

template<typename Element , size_t N>
static type testing::internal::StlContainerView< Element[N]>::Copy ( const Element(&)  array[N])
inlinestatic

Definition at line 356 of file gmock-internal-utils.h.

356 {
357 return type(array, N, RelationToSourceCopy());
358 }

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