template <typename T>
class BuiltInDefaultValue
Defined at line 199 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-actions.h
BuiltInDefaultValue
<T
>::Get() returns the "built-in" default value
for type T, which is NULL when T is a raw pointer type, 0 when T is
a numeric type, false when T is bool, or "" when T is string or
std::string. In addition, in C++11 and above, it turns a
default-constructed T value if T is default constructible. For any
other type T, the built-in default T value is undefined, and the
function will abort the process.
Public Methods
bool Exists ()
This function returns true if and only if type T has a built-in default
value.
Defined at line 203 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-actions.h
T Get ()
Defined at line 205 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-actions.h