Jim,
    I don't show a fatcat method in my stl. I am on Windows XP with VS 2003.
    is this part of the standard string or boost library?


From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Jim Lear
Sent: Friday, February 11, 2005 10:37 AM
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] Concatenation of many std::string

I know next to nothing about C++, STL, so forgive my ignorance.  But, couldn't this performance problem be solved by calling a method that concatenates multiple std::strings?  E.g.

a.fastcat(b, c, d, e);  // returns &a

Maybe this is naive, but does every problem require an operator?

Chateauneu Remi wrote:
On Thu, 2005-02-10 at 18:48 +0100, Chateauneu Remi wrote:
    
std::string a = my_special_object() + b + c + d + e ;

      
std::string s1;
s1 << concat () + a + b + c;
std::string s2 = concat () + a + b + c;

If you want to see it, let me know.
    
Yes, thanks ! If you wish, I can send mine (330 lines, 11 k-bytes).
Could we take the best of both, and maybe put it in the string algo lib ?
  
-- 
Jim Lear
(512) 228-5532 (work)
(512) 293-7248 (cell)