2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Sep 2001 23:21:25 +0000 (23:21 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Sep 2001 23:21:25 +0000 (23:21 +0000)
commit793734867f317d091827f1d2a2f3339a8ce79cf6
tree71f51fbe376cd500205783c3af35a35cc79c431f
parentf13c61f87a185d403dcbe2dffcceccf3edbb5abc
2001-09-13   Benjamin Kosnik  <bkoz@redhat.com>

Implement std::money_get.
* include/bits/locale_facets.tcc (money_get::do_get): Implement.
* include/bits/locale_facets.h (money_get): Correct signatures.
* testsuite/22_locale/money_get.cc: New file.
* testsuite/22_locale/money_get_members_char.cc: New file.

* include/bits/locale_facets.tcc (__verify_grouping): New
function. Consolidate num_get and money_get group checking into
one function.
(money_get): Use it.
* src/locale.cc (num_get::_M_extract): Use it.
* src/locale-inst.cc: Add instantiation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45585 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.h
libstdc++-v3/include/bits/locale_facets.tcc
libstdc++-v3/src/locale-inst.cc
libstdc++-v3/src/locale.cc
libstdc++-v3/testsuite/22_locale/money_get.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/money_get_members_char.cc [new file with mode: 0644]