>And we all know I have plenty of that!
Indeed, but from what I've seen it's mostly well placed.
>Save for a small handful of functions, yes, yes, and yes.
Talking about a string class, a small handful of functions could very easily be the entire implementation. I would very much like to see the source for your class including all of the details if you're willing to share. My email is always open.
>Sure, just give me an example of what sort of algorithm you are referring to.
I wasn't referring to the string class specifically, but merge would be a good start.
>[by the way, would you mind supplying me with the code to do that using an std::string? ]
I'd be glad to:
The reason there isn't a find and replace member function for the string class is because it is so easy to write using existing member functions. I think std::string is poorly designed and is a bad example of the STL, but it serves its purpose quite nicely.
void find_and_replace ( std::string& s, std::string& to_find, char *rep )
std::string::size_type len = to_find.length();
while ( ( pos = s.find ( to_find ) ) != std::string::npos )
s.replace ( pos, len, rep );
>I have always disliked the stl and while some of it is from heresay (memory leaks, bloat, inefficiency, unecessary complication, etc...)
All of which are solely based on the fact that the STL implementations are still in their infancy. If this were the best it got then my opinion would be the same as yours.
>mostly it has to do with my stubborness, and desire to write my own code
I love getting my hands dirty in the low level areas too, but to not make use of higher level tools when the situation warrants it is foolish.