diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-12-18 07:50:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-12-18 07:50:35 +0200 |
commit | f3d25e138d506d57b16bd50023e762459983ff95 (patch) | |
tree | 19cee424a37982f8acf38015420fbc1020c14fe9 /libxsd/xsd/cxx/tree/std-ostream-map.hxx | |
parent | b3af9aa74169dc35cddfe0f08104d650e43d38b7 (diff) |
Use std::basic_ostream<C> instead of std::ostream in ostream map
Diffstat (limited to 'libxsd/xsd/cxx/tree/std-ostream-map.hxx')
-rw-r--r-- | libxsd/xsd/cxx/tree/std-ostream-map.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
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<C>&, 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<C>&, const type&); public: inserter @@ -95,9 +95,9 @@ namespace xsd // // - template<typename T> + template<typename C, typename T> void - inserter_impl (std::ostream&, const type&); + inserter_impl (std::basic_ostream<C>&, const type&); template<unsigned long id, typename C, typename T> struct std_ostream_initializer |