Boost logo

Boost :

From: dietmar_kuehl_at_[hidden]
Date: 2001-10-02 17:14:46


Hi,
> Uploaded by : garcia_at_c...
> Description : Create a UCS-4 view on an iterator over UTF-8
> encoded characters

I haven't looked at the code but it "feels" like the wrong approach:
Why isn't this a 'std::codecvt<char, wchar_t, std::mbstate_t>'
facet? This would be the preferred approach allowing dynamic
plugging of different encoding for one stream without loosing too
much efficiency? No doubt, this can probably be turned into a code
conversion facet relatively easy...

--
<mailto:dietmar_kuehl_at_[hidden]> <http://www.dietmar-kuehl.de/>
Phaidros eaSE - Easy Software Engineering: <http://www.phaidros.com/>

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