the following code fails:<br><br>#include <iostream> <br>#include <omniORB4/CORBA.h> <br>using namespace std; <br>int main() {<br> CORBA::Any any; <br> any <<= CORBA::Object::_nil(); <br>cout << "kind: " <<
any.type()->kind() << endl; <br> CORBA::Object_ptr objPtr;<br> any >>= objPtr;<br><br> cdrStream *cdr = new cdrMemoryStream();<br> any >>= *cdr;<br><br> return 0; }<br><br>