I have an interface as :<br>
my idl file:<br>
<b>typedef sequence<CustObj> CustObj_Cont;<br>
<br>
interface TestInt {<br>
CustObj_Cont get_obj();<br>
void set_obj(in CustObj_Cont rx);<br>
}; </b><br><br>my cpp file:<br>
So to create a CustObj_Cont that could be passed to set_obj I did something like this<br>
<br>
<b>CustObj obja;<br>
obja.val =100;<br>
<br>
CustObj objb;<br>
objb.val =20;<br>
<br>
::_CORBA_Unbounded_Sequence<CustObj> vctor_;</b><br>
<br>
Now here is where the problem starts if this was a vector i could have simply done something like vctor_.push_back(obja)<br>
but its not . so how can i push elements into an unbounded sequence?