Hi All,
I have the following IDL code:
message X_t {
optional string A = 1;
optional string B = 2;
optional uint32 C = 3;
}
message Y_t {
repeated X_t P = 1;
}
I am expecting to have in the generated CPP code:
void Y_t::add_P(X_t elem)//to append elem to the repeated field P in Y
but
On Friday, January 25, 2013 5:39:29 AM UTC+8, Mohit Jaggi wrote:
Looks like this is the intended way and the type of function I expected is
only supported for basic data types and strings.
Right. add_P(X_t elem) involves a copy of the X_t message which may be very
expensive. I think that's