Lines Matching defs:impl
274 explicit MatcherBase(const MatcherInterface<U>* impl)
276 Init(impl);
359 // If the impl is a MatcherDescriberInterface, then return it.
362 // from the impl, but some users really want to get their impl back when
411 static void Init(MatcherBase& m, M impl) {
412 ::new (static_cast<void*>(&m.buffer_)) M(impl);
437 static void Init(MatcherBase& m, M* impl) {
438 m.buffer_.shared = new Shared(std::unique_ptr<M>(impl));
471 explicit Matcher(const MatcherInterface<const T&>* impl)
472 : internal::MatcherBase<T>(impl) {}
476 const MatcherInterface<U>* impl,
479 : internal::MatcherBase<T>(impl) {}
499 explicit Matcher(const MatcherInterface<const std::string&>* impl)
500 : internal::MatcherBase<const std::string&>(impl) {}
521 explicit Matcher(const MatcherInterface<const std::string&>* impl)
522 : internal::MatcherBase<std::string>(impl) {}
523 explicit Matcher(const MatcherInterface<std::string>* impl)
524 : internal::MatcherBase<std::string>(impl) {}
549 explicit Matcher(const MatcherInterface<const internal::StringView&>* impl)
550 : internal::MatcherBase<const internal::StringView&>(impl) {}
575 explicit Matcher(const MatcherInterface<const internal::StringView&>* impl)
576 : internal::MatcherBase<internal::StringView>(impl) {}
577 explicit Matcher(const MatcherInterface<internal::StringView>* impl)
578 : internal::MatcherBase<internal::StringView>(impl) {}
627 const Impl& impl() const { return impl_; }
638 explicit MonomorphicImpl(const Impl& impl) : impl_(impl) {}
664 inline Matcher<T> MakeMatcher(const MatcherInterface<T>* impl) {
665 return Matcher<T>(impl);
676 inline PolymorphicMatcher<Impl> MakePolymorphicMatcher(const Impl& impl) {
677 return PolymorphicMatcher<Impl>(impl);