cMHN 1.2
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
testing::internal::ReturnAction< R > Class Template Referencefinal

#include <gmock-actions.h>

Public Member Functions

 ReturnAction (R value)
 
template<typename U , typename... Args, typename = typename std::enable_if<conjunction< negation<std::is_same<void, U>>, negation<std::is_reference<U>>, std::is_convertible<R, U>, std::is_move_constructible<U>>::value>::type>
 operator OnceAction< U (Args...)>() &&
 
template<typename U , typename... Args, typename = typename std::enable_if<conjunction< negation<std::is_same<void, U>>, negation<std::is_reference<U>>, std::is_convertible<const R&, U>, std::is_copy_constructible<U>>::value>::type>
 operator Action< U (Args...)>() const
 

Constructor & Destructor Documentation

◆ ReturnAction()

template<typename R >
testing::internal::ReturnAction< R >::ReturnAction ( R value)
inlineexplicit

Member Function Documentation

◆ operator Action< U()

template<typename R >
template<typename U , typename... Args, typename = typename std::enable_if<conjunction< negation<std::is_same<void, U>>, negation<std::is_reference<U>>, std::is_convertible<const R&, U>, std::is_copy_constructible<U>>::value>::type>
testing::internal::ReturnAction< R >::operator Action< U ( Args... ) const
inline

◆ operator OnceAction< U()

template<typename R >
template<typename U , typename... Args, typename = typename std::enable_if<conjunction< negation<std::is_same<void, U>>, negation<std::is_reference<U>>, std::is_convertible<R, U>, std::is_move_constructible<U>>::value>::type>
testing::internal::ReturnAction< R >::operator OnceAction< U ( Args... ) &&
inline

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