Boost logo

Boost :

Subject: Re: [boost] [UTF String] UTF String library 1.5 ready for perusal
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-02-11 05:48:50


On 11/02/2011 01:21, Chad Nelson wrote:

> You may well be right, for your UTF-8-only code. For my design, it was
> more efficient to create separate iterators for UTF-8, UTF-16, and
> UTF-32 than to try to make one completely generic UTF-anything
> iterator. That's what I meant by "fully generic."

This doesn't make any sense whatsoever.

The code to deal with different UTF encodings cannot be the same, so you
cannot write generic code to deal with all those encodings.


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