[omniORB] Pointer from a _var?

Bruce Fountain B_Fountain@motherwell.com.au
Thu, 21 Jun 2001 11:24:52 +0800


Stephen Crawley wrote:
> You need to get the contents of the _var.  Try this:
> 
>   // Client.cpp
>     Foo::ShortSeq_var ss;
>     if (*ss == 0)
>     {
>         std::cout << "ss is null\n";
>     }

I just tried this. It produces the identical error on compilation
(ie. still trying to find an == operator for FooShortSeq_var),
which would suggest that dereferencing using * doesn't give me a
(FooShortSeq*).


Bruce