summaryrefslogtreecommitdiff
path: root/libstdc++-v3/src/locale-inst.cc
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@unitus.it>2001-11-29 23:31:02 +0100
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2001-11-29 22:31:02 +0000
commitb3340046164ef39d1a2d30e49314511f96aa8d23 (patch)
treed653f823940d95a23ac173c99c7ff7904c7e786e /libstdc++-v3/src/locale-inst.cc
parent7d5b8b116ee53bd38bd23bb6cf5577b3fec72000 (diff)
downloadgcc-b3340046164ef39d1a2d30e49314511f96aa8d23.tar.gz
locale_facets.tcc (__pad): Add bool parameter to correctly pad internal-adjusted const char*-type objects.
2001-11-29 Paolo Carlini <pcarlini@unitus.it> libstdc++/3655 * include/bits/locale_facets.tcc (__pad): Add bool parameter to correctly pad internal-adjusted const char*-type objects. * include/bits/locale_facts.tcc (num_put::_M_insert): Update call. * include/bits/ostream.tcc (operator<<(_CharT , char, const _CharT*, const char*, const basic_string&): Update calls. * src/locale-inst.tcc: Update declarations. * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test. From-SVN: r47459
Diffstat (limited to 'libstdc++-v3/src/locale-inst.cc')
-rw-r--r--libstdc++-v3/src/locale-inst.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/libstdc++-v3/src/locale-inst.cc b/libstdc++-v3/src/locale-inst.cc
index 5107a2963d4..0688db9104d 100644
--- a/libstdc++-v3/src/locale-inst.cc
+++ b/libstdc++-v3/src/locale-inst.cc
@@ -337,12 +337,12 @@ namespace std
template
void
__pad<char>(ios_base&, char, char*, const char *, streamsize,
- streamsize);
+ streamsize, const bool);
template
void
- __pad<char, char_traits<char> >(ios_base&, char, char*,
- const char *, streamsize, streamsize);
+ __pad<char, char_traits<char> >(ios_base&, char, char*, const char *,
+ streamsize, streamsize, const bool);
#ifdef _GLIBCPP_USE_WCHAR_T
template
@@ -363,13 +363,13 @@ namespace std
template
void
__pad<wchar_t>(ios_base&, wchar_t, wchar_t*, const wchar_t*,
- streamsize, streamsize);
+ streamsize, streamsize, const bool);
template
void
__pad<wchar_t, char_traits<wchar_t> >(ios_base&, wchar_t, wchar_t*,
- const wchar_t*,
- streamsize, streamsize);
+ const wchar_t*, streamsize,
+ streamsize, const bool);
#endif // _GLIBCPP_USE_WCHAR_T
template