Lines Matching refs:Element
80 template <typename Element>
81 inline Element* GetRawPointer(Element* p) { return p; }
395 template <typename Element, size_t N>
396 class StlContainerView<Element[N]> {
398 typedef GTEST_REMOVE_CONST_(Element) RawElement;
407 static const_reference ConstReference(const Element (&array)[N]) {
408 // Ensures that Element
409 testing::StaticAssertTypeEq<Element, RawElement>();
412 // for this call without the cast to Element*:
424 return type(const_cast<Element*>(&array[0]), N, kReference);
429 static type Copy(const Element (&array)[N]) {
431 return type(const_cast<Element*>(&array[0]), N, kCopy);