tesseract v5.3.3.20231005
testing::PolymorphicAction< Impl > Class Template Reference

#include <gmock-actions.h>

Public Member Functions

 PolymorphicAction (const Impl &impl)
 
template<typename F >
 operator Action< F > () const
 

Detailed Description

template<typename Impl>
class testing::PolymorphicAction< Impl >

Definition at line 551 of file gmock-actions.h.

Constructor & Destructor Documentation

◆ PolymorphicAction()

template<typename Impl >
testing::PolymorphicAction< Impl >::PolymorphicAction ( const Impl &  impl)
inlineexplicit

Definition at line 553 of file gmock-actions.h.

553: impl_(impl) {}

Member Function Documentation

◆ operator Action< F >()

template<typename Impl >
template<typename F >
testing::PolymorphicAction< Impl >::operator Action< F > ( ) const
inline

Definition at line 556 of file gmock-actions.h.

556 {
557 return Action<F>(new MonomorphicImpl<F>(impl_));
558 }

The documentation for this class was generated from the following file: