[ https://issues.apache.org/jira/browse/THRIFT-4867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16839301#comment-16839301 ]
James E. King III commented on THRIFT-4867: ------------------------------------------- Yes, perhaps in any container where the key is sorted, like set<> or map<>, but not list<>. > C++ operator< implementation is not generated on structs > -------------------------------------------------------- > > Key: THRIFT-4867 > URL: https://issues.apache.org/jira/browse/THRIFT-4867 > Project: Thrift > Issue Type: Improvement > Components: C++ - Compiler > Affects Versions: 0.12.0 > Environment: all > Reporter: Daniel Haensse > Priority: Major > Original Estimate: 1h > Remaining Estimate: 1h > > When using struct in list, list and set, the operator< is required. > Unfortunately the c++ compiler even in the latest release does not generate > it. It would be very usefull to have the implementation generated, reducing > unnecessary manual coding. -- This message was sent by Atlassian JIRA (v7.6.3#76005)