Ok, Valmont thanx!
I have changed the string* into string, so I can avoid the new operator. But I didn't see the use of private variable nCount_ in your recommendation code. I prefer use the size of vector size instead of maintaining the vector count. And I think your trim function will erase all of spaces in a string which not something I want, since my trim is intended to leftTrim and rightTrim at the same time.
Thanks again for inline functions in header file and the use of reference in trim.
Best regards,
Wisnu Widiarta
