|
Boost Users : |
From: Jim Lear (jim.lear_at_[hidden])
Date: 2005-02-11 11:39:27
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?
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.
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
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)
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Jim Lear (512) 228-5532 (work) (512) 293-7248 (cell) This document/email may contain confidential, proprietary or privileged information and is intended only for use of the addressee/recipient named above. No confidentiality or privilege is waived or lost by any error in transmission of this document/email. If you are not the intended recipient of this document/email of Legerity, Inc., you are hereby notified that you must not use, disseminate, or copy it in any form or take any action in reliance on it. If you have received this document/email in error, please immediately notify me at (512) 228-5760 and permanently destroy/delete the original document/email and any copy of the document/email and printout thereof.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net