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: [email protected]
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.

Reply via email to