Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
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 433 of file gmock-internal-utils.h.

Member Typedef Documentation

◆ const_reference

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

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

◆ type

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

Definition at line 435 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 438 of file gmock-internal-utils.h.

438 {
439 // Ensures that RawContainer is not a const type.
440 testing::StaticAssertTypeEq<RawContainer,
441 GTEST_REMOVE_CONST_(RawContainer)>();
442 return container;
443 }
#define GTEST_REMOVE_CONST_(T)
bool StaticAssertTypeEq()
Definition gtest.h:2238
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Copy()

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

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

444{ return container; }

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