Re: UT_String


Subject: Re: UT_String
From: Dom Lachowicz (cinamod@hotmail.com)
Date: Thu Apr 12 2001 - 14:52:08 CDT


Mike Nordell wrote:
>Regarding UT_String. Is anyone aware of *any* place the (dangerous) "const
>char*" conversion operator is used? If not, I'd like to remove that one.

I've removed this operator and any instances of its use in the code.

>May I also suggest that the one adding the "simplesplit" member function (I
>don't want to point a finger so I didn't even bother to check who added it)
>ASAP remove that one from the class and make it a free function an put it
>in
>ut_misc.h or ut_string.h? This one has no business being a member of the
>string class (e.g. why the heck should a _simple_ resource managing string
>class have to know about ut_vector?!). Please also remove the #include
>"ut_vector.h" from the header file. Thanks.

I'm responsible for committing that code, but not for writing it. It's been
removed and put into ut_misc with the name "simpleSplit."

Dom

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com



This archive was generated by hypermail 2b25 : Thu Apr 12 2001 - 14:52:14 CDT