Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.6
-
None
-
None
-
OS : Windows XP, Compiler/IDE : Visual Studio 2008
Description
When using the patches from either THRIFT-1123 or THRIFT-1031, I get a compilation error when compiling the class generated for an enum type. The details are available in this comment.
I found that making apache::Thrift::TEnumIterator extend std::iterator<std::forward_iterator_tag, std::pair<int, const char*> > solve the issue, but I'm not able to test it on other platforms.