Xmipp  v3.23.11-Nereus
Public Types | Static Public Member Functions | List of all members
testing::internal::StlContainerView< RawContainer > Class Template Reference

#include <gmock-internal-utils.h>

Public Types

typedef RawContainer type
 
typedef const typeconst_reference
 

Static Public Member Functions

static const_reference ConstReference (const RawContainer &container)
 
static type Copy (const RawContainer &container)
 

Detailed Description

template<class RawContainer>
class testing::internal::StlContainerView< RawContainer >

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

Member Typedef Documentation

◆ const_reference

template<class RawContainer >
typedef const type& testing::internal::StlContainerView< RawContainer >::const_reference

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

◆ type

template<class RawContainer >
typedef RawContainer testing::internal::StlContainerView< RawContainer >::type

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

Member Function Documentation

◆ ConstReference()

template<class RawContainer >
static const_reference testing::internal::StlContainerView< RawContainer >::ConstReference ( const RawContainer &  container)
inlinestatic

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

350  {
351  static_assert(!std::is_const<RawContainer>::value,
352  "RawContainer type must not be const");
353  return container;
354  }

◆ Copy()

template<class RawContainer >
static type testing::internal::StlContainerView< RawContainer >::Copy ( const RawContainer &  container)
inlinestatic

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

355 { return container; }

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