[Bug libstdc++/38399] money_get<> read decimal point when frac_digits() <= 0

2008-12-05 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2008-12-05 18:25 --- Fixed for 4.4.0. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libstdc++/38399] money_get<> read decimal point when frac_digits() <= 0

2008-12-05 Thread paolo at gcc dot gnu dot org
--- Comment #5 from paolo at gcc dot gnu dot org 2008-12-05 18:24 --- Subject: Bug 38399 Author: paolo Date: Fri Dec 5 18:23:39 2008 New Revision: 142487 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142487 Log: 2008-12-05 Paolo Carlini <[EMAIL PROTECTED]> PR libstd

[Bug libstdc++/38399] money_get<> read decimal point when frac_digits() <= 0

2008-12-05 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2008-12-05 09:59 --- (In reply to comment #3) > Thanks for remark. You are welcome. By the way, since in general you are so kind to report very accurate and to the point issues, I would appreciate if you could also add testcases m

[Bug libstdc++/38399] money_get<> read decimal point when frac_digits() <= 0

2008-12-05 Thread tsyvarev at ispras dot ru
--- Comment #3 from tsyvarev at ispras dot ru 2008-12-05 09:53 --- Thanks for remark. It seemed for me, that iterator returned by get() and iterator constructed from stream directly are interchangeable. Now I see that it isn't so. Then, example should be rewritten: #include #include

[Bug libstdc++/38399] money_get<> read decimal point when frac_digits() <= 0

2008-12-04 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2008-12-04 16:08 --- (In reply to comment #0) > use_facet >(loc).get(ss, 0, false, ss, err, digits); > > string rest(istreambuf_iterator(ss), istreambuf_iterator()); Fixing this issue is trivial, but please double check t

[Bug libstdc++/38399] money_get<> read decimal point when frac_digits() <= 0

2008-12-04 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2008-12-04 15:11 --- Ok. -- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedTo|u