|
Boost : |
From: João Abecasis (jpabecasis_at_[hidden])
Date: 2006-03-14 09:56:57
Vladimir Prus wrote:
> The problem is that the 'widen' method always returns char*, and return
> value is equal to the second parameter. I guess the right code would be:
>
> std::use_facet<ctype_t>(std::locale())
> .widen(source, source + len, result);
> return result;
>
> but I'm not quite sure. Can you check if this works and is right
> semantically?
Your fix looks right (double-checked with Hartmut), so I've committed it
to CVS.
Thanks for the heads-up!
João
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk