[ace-users] ACE_String vs. std:string
Douglas C. Schmidt
schmidt at dre.vanderbilt.edu
Mon Jul 9 15:01:09 CDT 2007
Hi Michael,
> I apologize if this has been asked a million times.
>
> Could anyone please comment on the differences between ACE_String_Base
> and std::string.
ACE_String_Base is a vestige from the days when the C++ Standard Library
wasn't widely/consistently available and we needed a more portable C++
string solution. In general, I recommend using std::string whenever
possible.
> Of particular interest is thread safety (Linux, latest gcc) and
> performance.
I doubt there's much difference here.
take care,
Doug
More information about the Ace-users
mailing list