Bug Report no. 36

attlogo6876_dk.gif (2280 bytes)

sideHome.gif (2321 bytes) sideDownload.gif (2450 bytes) sideDocumentation.gif (2512 bytes) sideFAQ.gif (2344 bytes) sidePatch.gif (2543 bytes) sideSearch.gif (2403 bytes)

Reported By

Jan Zurek

Date

20 Oct 1998

Platforms

All platforms

Version

omniORB 2.6.0

Description

The insertion operator of an unbounded string into an Any is wrong:

void operator<<=(CORBA::Any&,const char*&);

Should be:

void operator<<=(CORBA::Any&,const char*);

Patch

    

Action

Will be fixed in the next major release. A work around is to use from_string.

e.g.

CORBA::Any myAny;

myAny <<= CORBA::Any::from_string("Hello",0);

 

 

For comments, feedback, etc, please see the 'Keeping in touch' page.
Copyright 1999 - AT&T Laboratories Cambridge