renej
2007-02-28 20:04:38 UTC
the following code fails:
#include <iostream>
#include <omniORB4/CORBA.h>
using namespace std;
int main() {
CORBA::Any any;
any <<= CORBA::Object::_nil();
cout << "kind: " << any.type()->kind() << endl;
CORBA::Object_ptr objPtr;
any >>= objPtr;
cdrStream *cdr = new cdrMemoryStream();
any >>= *cdr;
return 0; }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20070228/8a50dc71/attachment.htm
#include <iostream>
#include <omniORB4/CORBA.h>
using namespace std;
int main() {
CORBA::Any any;
any <<= CORBA::Object::_nil();
cout << "kind: " << any.type()->kind() << endl;
CORBA::Object_ptr objPtr;
any >>= objPtr;
cdrStream *cdr = new cdrMemoryStream();
any >>= *cdr;
return 0; }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20070228/8a50dc71/attachment.htm