Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::gmock_matchers_test::PolymorphicFunctor Struct Reference

Public Types

typedef int result_type
 

Public Member Functions

int operator() (int n)
 
int operator() (const char *s)
 

Detailed Description

Definition at line 4575 of file gmock-matchers_test.cc.

Member Typedef Documentation

◆ result_type

Member Function Documentation

◆ operator()() [1/2]

int testing::gmock_matchers_test::PolymorphicFunctor::operator() ( const char * s)
inline

Definition at line 4578 of file gmock-matchers_test.cc.

4578{ return static_cast<int>(strlen(s)); }
char * s

◆ operator()() [2/2]

int testing::gmock_matchers_test::PolymorphicFunctor::operator() ( int n)
inline

Definition at line 4577 of file gmock-matchers_test.cc.

4577{ return n; }

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