I see. _____ From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Jim Lear Sent: Friday, February 11, 2005 11:39 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Concatenation of many std::string No, fastcat does not exist. I'm suggesting that it may be easier for Chateauneu to create an optimized method (fastcat or such) that accepts multiple operands rather than wrestling with operators that accept only two operands. Nicholas Cardi wrote: 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) _____ _______________________________________________ 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.