From f3d25e138d506d57b16bd50023e762459983ff95 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 18 Dec 2009 07:50:35 +0200 Subject: Use std::basic_ostream instead of std::ostream in ostream map --- libxsd/xsd/cxx/tree/std-ostream-map.hxx | 8 ++--- libxsd/xsd/cxx/tree/std-ostream-map.txx | 64 ++++++++++++++++----------------- 2 files changed, 36 insertions(+), 36 deletions(-) (limited to 'libxsd/xsd/cxx/tree') diff --git a/libxsd/xsd/cxx/tree/std-ostream-map.hxx b/libxsd/xsd/cxx/tree/std-ostream-map.hxx index 2bf786c..38d7858 100644 --- a/libxsd/xsd/cxx/tree/std-ostream-map.hxx +++ b/libxsd/xsd/cxx/tree/std-ostream-map.hxx @@ -23,7 +23,7 @@ namespace xsd struct std_ostream_map { typedef std::type_info type_id; - typedef void (*inserter) (std::ostream&, const type&); + typedef void (*inserter) (std::basic_ostream&, const type&); std_ostream_map (); @@ -34,7 +34,7 @@ namespace xsd unregister_type (const type_id&); void - insert (std::ostream&, const type&); + insert (std::basic_ostream&, const type&); public: inserter @@ -95,9 +95,9 @@ namespace xsd // // - template + template void - inserter_impl (std::ostream&, const type&); + inserter_impl (std::basic_ostream&, const type&); template struct std_ostream_initializer diff --git a/libxsd/xsd/cxx/tree/std-ostream-map.txx b/libxsd/xsd/cxx/tree/std-ostream-map.txx index ee46f16..c07c40c 100644 --- a/libxsd/xsd/cxx/tree/std-ostream-map.txx +++ b/libxsd/xsd/cxx/tree/std-ostream-map.txx @@ -22,13 +22,13 @@ namespace xsd // register_type ( typeid (type), - &inserter_impl, + &inserter_impl, false); typedef simple_type simple_type; register_type ( typeid (simple_type), - &inserter_impl, + &inserter_impl, false); @@ -37,49 +37,49 @@ namespace xsd typedef string string; register_type ( typeid (string), - &inserter_impl, + &inserter_impl, false); typedef normalized_string normalized_string; register_type ( typeid (normalized_string), - &inserter_impl, + &inserter_impl, false); typedef token token; register_type ( typeid (token), - &inserter_impl, + &inserter_impl, false); typedef name name; register_type ( typeid (name), - &inserter_impl, + &inserter_impl, false); typedef nmtoken nmtoken; register_type ( typeid (nmtoken), - &inserter_impl, + &inserter_impl, false); typedef nmtokens nmtokens; register_type ( typeid (nmtokens), - &inserter_impl, + &inserter_impl, false); typedef ncname ncname; register_type ( typeid (ncname), - &inserter_impl, + &inserter_impl, false); typedef language language; register_type ( typeid (language), - &inserter_impl, + &inserter_impl, false); @@ -88,19 +88,19 @@ namespace xsd typedef id id; register_type ( typeid (id), - &inserter_impl, + &inserter_impl, false); typedef idref idref; register_type ( typeid (idref), - &inserter_impl, + &inserter_impl, false); typedef idrefs idrefs; register_type ( typeid (idrefs), - &inserter_impl, + &inserter_impl, false); @@ -109,7 +109,7 @@ namespace xsd typedef uri uri; register_type ( typeid (uri), - &inserter_impl, + &inserter_impl, false); @@ -118,7 +118,7 @@ namespace xsd typedef qname qname; register_type ( typeid (qname), - &inserter_impl, + &inserter_impl, false); @@ -127,13 +127,13 @@ namespace xsd typedef base64_binary base64_binary; register_type ( typeid (base64_binary), - &inserter_impl, + &inserter_impl, false); typedef hex_binary hex_binary; register_type ( typeid (hex_binary), - &inserter_impl, + &inserter_impl, false); @@ -142,55 +142,55 @@ namespace xsd typedef gday gday; register_type ( typeid (gday), - &inserter_impl, + &inserter_impl, false); typedef gmonth gmonth; register_type ( typeid (gmonth), - &inserter_impl, + &inserter_impl, false); typedef gyear gyear; register_type ( typeid (gyear), - &inserter_impl, + &inserter_impl, false); typedef gmonth_day gmonth_day; register_type ( typeid (gmonth_day), - &inserter_impl, + &inserter_impl, false); typedef gyear_month gyear_month; register_type ( typeid (gyear_month), - &inserter_impl, + &inserter_impl, false); typedef date date; register_type ( typeid (date), - &inserter_impl, + &inserter_impl, false); typedef time time; register_type ( typeid (time), - &inserter_impl