thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Geyer <jensge...@hotmail.com>
Subject AW: C++ operator<
Date Thu, 07 Nov 2013 07:50:34 GMT
Generated code should not be modified for the very reason you mentioned. Some languages like
C# generate partial classes that can be easily extended.

It could be worth a look if specifically this operator overload could/should be generated
as well. One of the C++ people may chime in here.
________________________________
Von: Bryan Pham
Gesendet: 07.11.2013 05:26
An: user@thrift.apache.org
Betreff: C++ operator<

I was wondering what's the best practice for editing generated code.  I
want to enable operator< but everytime we generate code, I'd have to
remember to edit the same code over.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message