Dear All,
is it possible to write a .thrift file so that c++ generared getter 
methods are const?

Example:

myservice.thrift

service MyService {
    string getName(1: i32 id),

MyService.h

class MyServiceClient : virtual public MyServiceIf {
    void getName(std::string& _return, const int32_t id) const;


Regards,
Gianni

Reply via email to