template <class RawContainer>

class StlContainerView

Defined at line 343 of file ../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h

Given a raw type (i.e. having no top-level reference or const

modifier) RawContainer that's either an STL-style container or a

native array, class StlContainerView

<RawContainer

> has the

following members:

- type is a type that provides an STL-style container view to

(i.e. implements the STL container concept for) RawContainer;

- const_reference is a type that provides a reference to a const

RawContainer;

- ConstReference(raw_container) returns a const reference to an STL-style

container view to raw_container, which is a RawContainer.

- Copy(raw_container) returns an STL-style container view of a

copy of raw_container, which is a RawContainer.

This generic version is used when RawContainer itself is already an

STL-style container.

Public Methods

const_reference ConstReference (const RawContainer & container)

Defined at line 348 of file ../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h

type Copy (const RawContainer & container)

Defined at line 353 of file ../../third_party/googletest/src/googlemock/include/gmock/internal/gmock-internal-utils.h