Electroneum
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 406 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 409 of file gmock-internal-utils.h.

◆ type

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

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

Member Function Documentation

◆ ConstReference()

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

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

411 {
412 // Ensures that RawContainer is not a const type.
415 return container;
416 }
#define GTEST_REMOVE_CONST_(T)
Here is the caller graph for this function:

◆ Copy()

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

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

417{ return container; }

The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/thirdparty/gtest/googlemock/include/gmock/internal/gmock-internal-utils.h