[omniORB] How avoid copying "in" parameters?

Teemu Torma teemu at torma.org
Thu Feb 7 14:42:15 GMT 2008


On Thursday 07 February 2008, DA SILVA Antonio wrote:
> When I declare a parameter as "in" inside an IDL,
> it is then implemented as a reference in C++.
> How can I store the parameter/data I receive in this
> reference without copying it?

If the parameter is an sequence, you could make it inout parameter to 
get it passed as non-const reference and steal the contents. 

Teemu



More information about the omniORB-list mailing list