GrPPI  1.0
Generic and Reusable Parallel Pattern Interface
Public Types | Static Public Member Functions | List of all members
testing::internal::ThisRefAdjuster< Pattern > Struct Template Reference

#include <gmock-function-mocker.h>

Public Types

template<typename T >
using AdjustT = typename std::conditional< std::is_const< typename std::remove_reference< Pattern >::type >::value, typename std::conditional< std::is_lvalue_reference< Pattern >::value, const T &, const T && >::type, typename std::conditional< std::is_lvalue_reference< Pattern >::value, T &, T && >::type >::type
 
template<typename T >
using AdjustT = typename std::conditional< std::is_const< typename std::remove_reference< Pattern >::type >::value, typename std::conditional< std::is_lvalue_reference< Pattern >::value, const T &, const T && >::type, typename std::conditional< std::is_lvalue_reference< Pattern >::value, T &, T && >::type >::type
 

Static Public Member Functions

template<typename MockType >
static AdjustT< MockType > Adjust (const MockType &mock)
 
template<typename MockType >
static AdjustT< MockType > Adjust (const MockType &mock)
 

Member Typedef Documentation

◆ AdjustT [1/2]

template<typename Pattern >
template<typename T >
using testing::internal::ThisRefAdjuster< Pattern >::AdjustT = typename std::conditional< std::is_const<typename std::remove_reference<Pattern>::type>::value, typename std::conditional<std::is_lvalue_reference<Pattern>::value, const T&, const T&&>::type, typename std::conditional<std::is_lvalue_reference<Pattern>::value, T&, T&&>::type>::type

◆ AdjustT [2/2]

template<typename Pattern >
template<typename T >
using testing::internal::ThisRefAdjuster< Pattern >::AdjustT = typename std::conditional< std::is_const<typename std::remove_reference<Pattern>::type>::value, typename std::conditional<std::is_lvalue_reference<Pattern>::value, const T&, const T&&>::type, typename std::conditional<std::is_lvalue_reference<Pattern>::value, T&, T&&>::type>::type

Member Function Documentation

◆ Adjust() [1/2]

template<typename Pattern >
template<typename MockType >
static AdjustT<MockType> testing::internal::ThisRefAdjuster< Pattern >::Adjust ( const MockType &  mock)
inlinestatic

◆ Adjust() [2/2]

template<typename Pattern >
template<typename MockType >
static AdjustT<MockType> testing::internal::ThisRefAdjuster< Pattern >::Adjust ( const MockType &  mock)
inlinestatic

The documentation for this struct was generated from the following files: