|
Boost : |
From: Matthew Hurd (matt_at_[hidden])
Date: 2003-11-07 16:09:22
> On Behalf Of Markus Werle
> Sent: Saturday, 8 November 2003 1:29 AM
> To: boost_at_[hidden]
> Subject: [boost] Re: String thought
>
> Pavol Droba wrote:
>
> > On Fri, Nov 07, 2003 at 02:03:15PM -0800, John Torjo wrote:
> >>
> >> 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.
> The "framework" is there: Daixtrose.
> Plugging a
> template <const char Name[256]> class SpecialString
> into it is partly demonstrated at
> http://daixtrose.sourceforge.net/themanual.html#x1-190003.4.7
> The string concatenation is missing in that example,
> but I tried this already, just dropped it because I did not
> need it. Hint: the length information can be transported via the
> disambiguation mechanism.
>
> Also: John is right. Any good std::string class has memory strategies
> that fit well for every day's life.
>
> Markus
Thanks I'll have a detailed look at diaxtrose to try and understand it
sometime... I struggle a bit with this C++ stuff so I'll try a simple proxy
first to see if there is any performance benefit over a vendor
implementation.
Regards,
Matt Hurd.
--- 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk