[omniORB] Any type

Lionel Gilet lgilet@san-jose.tt.slb.com
Wed Jun 26 16:16:02 2002


<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Correct Kevin.
<br>Thanks for pointing out the typo.
<p>Lionel
<p>Kevin Williams wrote:
<blockquote TYPE=CITE>&nbsp;
<p><font size=-1>>&nbsp;&nbsp; if ( !theAny >= theData ) {</font>
<p><font size=-1>I think this should read:</font>
<p><font size=-1>&nbsp; if ( ! theAny >>= theData ) {</font>
<p><font size=-1>The important bit, Alexander, is that the >>= operator
will return true if the Any contains the type you are attempting to extract.&nbsp;
If it returns false, you can attempt to extract an alternate type (an error
structure perhaps) or just consider the absense of data to be an error
in and of itself.</font>
<p><font size=-1>-- Kevin Williams</font>
<br><font size=-1>&nbsp;&nbsp; Visionael Corporation</font>
<br><font size=-1>&nbsp;&nbsp; kwilliams@visionael.com</font></blockquote>
</html>