From: Martin Bonner (martin.bonner_at_[hidden])
Date: 2006-05-02 10:05:51
From: Alexander Nasonov
> As I pointed out in other thread, I implemented integral2str but
> it converts according to "C" locale. I'm going to add thousands_sep
> after every group of 3 digits for locales with appropriate grouping.
> I expect a slight performance degradation but it should be much
> faster then ostringstream anyway.
> As I don't know anything about locales with other grouping, I can't
> say how efficient integral2str might be for those locales.
The culturally correct formating in (most of) India would be something
grouping() returns a vector with .size()=2, ='\3', and ='\2'.
I don't know how much that helps ...
-- Martin Bonner Martin.Bonner_at_[hidden] Pi Technology, Milton Hall, Ely Road, Milton, Cambridge, CB4 6WZ, ENGLAND Tel: +44 (0)1223 203894
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk