[omniORB] Pointer from a _var?

Stephen Crawley crawley@dstc.edu.au
Thu, 21 Jun 2001 10:51:30 +1000


> Perhaps I wasn't clear: my _var pointer doesn't
> contain an objref, it contains a sequence. As far as I can
> tell there is no CORBA::is_nil() method that takes my user
> defined datatype. Nor is there a generated _nil() method for
> my sequence. And assigning NULL to my sequence _var works
> fine.

According to H&V, a _var class for a struct, union or sequence type
holds a "T *"; i.e. something that you can assume is a real pointer.
I can't see what would be wrong with just comparing it with 0.

-- Steve