Am 07.11.2013 05:26, schrieb Bryan Pham:
> 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.
Hi,
first: I'm new to thift, thus, please wait for Experts to answer.
second: I think the best plan would be to create a class, derived from
the actual thrift-class and do there what you want for usage out of
thrift (what I assume you are trying)
class ThriftClass {
public:
void thiftDoStuff();
}
class YourClass : public ThriftClass {
public:
void yourCode()
}
But the best plan depends on what you are actually trying to achieve. If
this answer is not an option, please be more specific on your problem.
Best
Wilm