code-mx / googlemock

Automatically exported from code.google.com/p/googlemock
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

cannot mock a function whose argument type supports operator<<(std::basic_ostream<C, T>&, ...) #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The compiler complains "ambiguous overload" in this case.

I have a fix waiting to be verified by the user and reviewed:

http://codereview.appspot.com/14072/show

Original issue reported on code.google.com by zhanyong...@gmail.com on 10 Feb 2009 at 7:31

GoogleCodeExporter commented 9 years ago
Fixed in trunk.

Original comment by zhanyong...@gmail.com on 11 Feb 2009 at 6:21