Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Static Public Attributes | Static Private Member Functions | List of all members
testing::internal::is_implicitly_convertible< From, To > Struct Template Reference

#include <gmock-actions.h>

Public Types

using type = decltype(TestImplicitConversion< From >(0))
 

Static Public Attributes

static constexpr bool value = type::value
 

Static Private Member Functions

template<typename T >
static void Accept (T)
 
template<typename T >
static T Make ()
 
template<typename T , typename = decltype(Accept<To>(Make<T>()))>
static std::true_type TestImplicitConversion (int)
 
template<typename T >
static std::false_type TestImplicitConversion (...)
 

Detailed Description

template<typename From, typename To>
struct testing::internal::is_implicitly_convertible< From, To >

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

Member Typedef Documentation

template<typename From , typename To >
using testing::internal::is_implicitly_convertible< From, To >::type = decltype(TestImplicitConversion<From>(0))

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

Member Function Documentation

template<typename From , typename To >
template<typename T >
static void testing::internal::is_implicitly_convertible< From, To >::Accept ( T  )
staticprivate
template<typename From , typename To >
template<typename T >
static T testing::internal::is_implicitly_convertible< From, To >::Make ( )
staticprivate
template<typename From , typename To >
template<typename T , typename = decltype(Accept<To>(Make<T>()))>
static std::true_type testing::internal::is_implicitly_convertible< From, To >::TestImplicitConversion ( int  )
staticprivate
template<typename From , typename To >
template<typename T >
static std::false_type testing::internal::is_implicitly_convertible< From, To >::TestImplicitConversion (   ...)
staticprivate

Member Data Documentation

template<typename From , typename To >
constexpr bool testing::internal::is_implicitly_convertible< From, To >::value = type::value
static

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


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