Lines Matching refs:Impl

867 template <typename Impl>
870 explicit PolymorphicAction(const Impl& impl) : impl_(impl) {}
884 explicit MonomorphicImpl(const Impl& impl) : impl_(impl) {}
891 Impl impl_;
894 Impl impl_;
911 template <typename Impl>
912 inline PolymorphicAction<Impl> MakePolymorphicAction(const Impl& impl) {
913 return PolymorphicAction<Impl>(impl);
940 return Impl<U>(std::move(value_));
951 return Impl<U>(value_);
957 class Impl final {
961 explicit Impl(R&& input_value)
966 explicit Impl(const R& input_value) : state_(new State(input_value)) {}
1161 return Action<F>(new Impl<F>(ref_));
1167 class Impl : public ActionInterface<F> {
1172 explicit Impl(T& ref) : ref_(ref) {} // NOLINT
1203 return Action<F>(new Impl<F>(value_));
1209 class Impl : public ActionInterface<F> {
1214 explicit Impl(const T& value) : value_(value) {} // NOLINT
1382 return Action<F>(new Impl<F>(action_));
1387 class Impl : public ActionInterface<F> {
1392 explicit Impl(const A& action) : action_(action) {}
2112 template <typename F, typename Impl>
2115 template <typename Impl>
2119 explicit operator const Impl&() const { return *ptr; }
2120 std::shared_ptr<Impl> ptr;
2122 using type = typename std::conditional<std::is_constructible<Impl>::value,
2123 Impl, Holder>::type;
2126 template <typename R, typename... Args, typename Impl>
2127 struct ActionImpl<R(Args...), Impl> : ImplBase<Impl>::type {
2128 using Base = typename ImplBase<Impl>::type;
2133 explicit ActionImpl(std::shared_ptr<Impl> impl) : Base{std::move(impl)} {}
2152 return static_cast<const Impl&>(*this)
2165 template <typename F, typename Impl>
2167 return ::testing::Action<F>(ActionImpl<F, Impl>());
2171 template <typename F, typename Impl>
2172 ::testing::Action<F> MakeAction(std::shared_ptr<Impl> impl) {
2173 return ::testing::Action<F>(ActionImpl<F, Impl>(std::move(impl)));