[omniORB] sequence_var return passing
Jonathan Buchanan
buchanan@olsen.ch
Mon, 13 Sep 1999 07:49:00 +0200
> "Since OMG IDL has no concept of pointers in general or null pointers in particular,
> "except for valuetypes, allowing the passage of null pointers to or from an operation
> "would project C++ semantics onto OMG IDL operations.
>
Yes, this is the rule we learn to abide to for C++ and it makes perfect
sense... until you discover that the Mapping of OMG IDL to Java allows
normal use of null references:
"There are no special "nil" object references. Java null can
be passed freely wherever an object reference is expected."
So presumably, a Java ORB takes care of the rest. It makes me wonder
why it couldn't have been done in C++ similarly?
Regards,
Jon