chronos38 / googlemock

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

Do you have plan to include a tuple implementation in gmock? #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is not a bug report but an enhancement request.
Currently, it expects a boost or part of boost to provide a tuple
implementation for gmock user on Windows platform. But it's not so
convenient and need a VS setting change.
Do you have plan to include a tuple implementation in gmock directly? Just
like amop, another c++ mocking framework as good as gmock.

Original issue reported on code.google.com by billdavi...@gmail.com on 9 Feb 2009 at 3:02

GoogleCodeExporter commented 9 years ago
Could you please send questions to the discussion group?  That way they can be
handled more promptly and more people can help you.  Thanks.

No, we don't plan to implement tuple ourselves.  tuple is a standard type, so
implementing it ourselves is undefined behavior, and could conflict with the 
standard
tuple library the user may already use.  Since tuple is in gmock's public API, 
we
don't want to use a different type name either.

Original comment by zhanyong...@gmail.com on 9 Feb 2009 at 7:39

GoogleCodeExporter commented 9 years ago
I changed my mind. :-)

We are implementing a subset of tr1 tuple needed by googlemock now.

Original comment by zhanyong...@gmail.com on 12 Jun 2009 at 12:42

GoogleCodeExporter commented 9 years ago

Original comment by zhanyong...@gmail.com on 17 Jun 2009 at 11:17