Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2004-03-26 17:26:22


"Gennadiy Rozental" <gennadiy.rozental_at_[hidden]> wrote in message
news:c429pi$h45$1_at_sea.gmane.org...

> We could do something like this. But as you have says yourself (and
Herb
> Sutter in the book ) in majority of the cases it does not worse the
trouble.
> In practice you couldn't change string class globally in whole
application
> to use different comparison. In consequence you will pay with a lot
of
> conversions.

I basically agree, but as I said in a reply to Peter, the required
conversions would be minimal in most cases if string functions such as
constuctors and assignment operators were liberalized to accept
specializations of basic_string with different traits types.

Jonathan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk