From ee4eb695119bce96515b330f9fc83ddd67da5c62 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 Dec 2009 12:26:05 +0200 Subject: Implement de-registering polymorphic type information This is required for DLL/shared library unloading. --- libxsd/xsd/cxx/tree/std-ostream-map.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libxsd/xsd/cxx/tree/std-ostream-map.hxx') diff --git a/libxsd/xsd/cxx/tree/std-ostream-map.hxx b/libxsd/xsd/cxx/tree/std-ostream-map.hxx index 25f225f..2bf786c 100644 --- a/libxsd/xsd/cxx/tree/std-ostream-map.hxx +++ b/libxsd/xsd/cxx/tree/std-ostream-map.hxx @@ -31,6 +31,9 @@ namespace xsd register_type (const type_id&, inserter, bool override = true); void + unregister_type (const type_id&); + + void insert (std::ostream&, const type&); public: @@ -100,6 +103,7 @@ namespace xsd struct std_ostream_initializer { std_ostream_initializer (); + ~std_ostream_initializer (); }; } } -- cgit v1.1