$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: John Torjo (john.lists_at_[hidden])
Date: 2003-11-07 17:03:15
Matthew Hurd wrote:
> Any lib related to Boost that uses expression templates for string or buffer
> operations to minimize the temporary objects? Only thinking of
> concatenation but I guess it might apply elsewhere.
>
> Might be a neat addition to the string algorithm library.
I would think so ;)
However, I'm not sure how realistic this could be.
Just consider this:
for ( int i = 0; i < 10000; ++i)
s += "s";
In cases like this, expression templates would be useless, IMO.
Anyway, Pavol, any thoughts?
Best,
John
>
> Any thoughts on retrofitting such a best onto std::string?
>
> Regards,
>
> Matt.
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.536 / Virus Database: 331 - Release Date: 3/11/2003
>
>
> _______________________________________________
> Unsubscribe & other changes: http://listarchives.boost.org/mailman/listinfo.cgi/boost
>
> .
>