tesseract v5.3.3.20231005
testing::internal::BuiltInDefaultValueGetter< T, false > Struct Template Reference

#include <gmock-actions.h>

Static Public Member Functions

static T Get ()
 

Detailed Description

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

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

Member Function Documentation

◆ Get()

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

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

178 {
179 Assert(false, __FILE__, __LINE__,
180 "Default action undefined for the function return type.");
181 return internal::Invalid<T>();
182 // The above statement will never be reached, but is required in
183 // order for this function to compile.
184 }
void Assert(bool condition, const char *file, int line, const std::string &msg)

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