UT_String


Subject: UT_String
From: Mike Nordell (tamlin@algonet.se)
Date: Thu Apr 12 2001 - 14:20:10 CDT


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.

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.

/Mike



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