[interfacekit] Re: BString::CountChars()

"Erik Jaesler" <erik@xxxxxxxxxxxxxx> wrote:
> Just for fun, why does this test fail:
> 
> BString empty;
> CPPUNIT=5FASSERT(empty.String() =3D=3D "");

I guess you shouldn't compare pointers, but you're right, it's hard to 
see :-)

> Took me quite a while to see what was right under my nose, and 
> reminded 
> me of the Joel On Software article referred to on the OpenBeOS list 
> once 
> I got it.

Joel On Software is always a nice read, I can recommend everybody to 
take a look!

Adios...
   Axel.



Other related posts: