Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2006-07-04 17:52:12


Should you decide to make the described num_put/get facets you
might consider investing a little more effort to:

a) make them templated on the char/wchar_t type.
b) include a boost like document - you can use the
utf-8 codecvt facet as a model.
c) included a test or two.
d) Upload the whole package to the vault.

If you're a glutton for punishment, you can request
a mini-review and maybe get it accepted into Boost.

I would be personally grateful to anyone who
undertakes this as it would resolve, an issue
which comes up repeatedly.

Of course nothing is easy as it first appears. There
is the quesion of how such facets might interact
with other locale dependent facets. Also I'm not
sure that stringstream handles these facets in the
same way as other ones do. Hopefully, all these
questions would be addressed with a little
research..... And you need to do it anyway
for your own application. This is just about
as close as you're ever going to get to being
famous for nothing.

Good Luck

Robert Ramey

Johan Råde wrote:
> I agree. This has nothing to with the serialization lib.
> I will use the solution that you suggest.
> Thanks for the help.
>
> --Johan Råde
>
cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net