proxygen
testing::internal::BuiltInDefaultValueGetter< T, false > Struct Template Reference

#include <gmock-actions.h>

Static Public Member Functions

static T Get ()
 
static T Get ()
 
static T Get ()
 

Detailed Description

template<typename T>
struct testing::internal::BuiltInDefaultValueGetter< T, false >

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

Member Function Documentation

template<typename T >
static T testing::internal::BuiltInDefaultValueGetter< T, false >::Get ( )
inlinestatic

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

References testing::internal::Assert().

80  {
81  Assert(false, __FILE__, __LINE__,
82  "Default action undefined for the function return type.");
83  return internal::Invalid<T>();
84  // The above statement will never be reached, but is required in
85  // order for this function to compile.
86  }
void Assert(bool condition, const char *file, int line)
template<typename T >
static T testing::internal::BuiltInDefaultValueGetter< T, false >::Get ( )
inlinestatic

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

References testing::internal::Assert(), testing::internal::BuiltInDefaultValueGetter< T, kDefaultConstructible >::Get(), T, and value.

80  {
81  Assert(false, __FILE__, __LINE__,
82  "Default action undefined for the function return type.");
83  return internal::Invalid<T>();
84  // The above statement will never be reached, but is required in
85  // order for this function to compile.
86  }
void Assert(bool condition, const char *file, int line)
template<typename T >
static T testing::internal::BuiltInDefaultValueGetter< T, false >::Get ( )
inlinestatic

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

References testing::internal::Assert(), testing::internal::BuiltInDefaultValueGetter< T, kDefaultConstructible >::Get(), T, and value.

80  {
81  Assert(false, __FILE__, __LINE__,
82  "Default action undefined for the function return type.");
83  return internal::Invalid<T>();
84  // The above statement will never be reached, but is required in
85  // order for this function to compile.
86  }
void Assert(bool condition, const char *file, int line)

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