aboutsummaryrefslogtreecommitdiff
path: root/xml/serializer.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-31 12:57:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-31 12:57:38 +0200
commit665b6242fc338bb21ee8ac5131012cf6d230ed1e (patch)
tree7eee3cfa76277eb395e46ee07047860a0d881fd5 /xml/serializer.ixx
parent77bc33bcdf611d0f5c703d3d8e20d6f5aff8814c (diff)
Work around symbol exporting issues, throw() deprecation
Diffstat (limited to 'xml/serializer.ixx')
-rw-r--r--xml/serializer.ixx18
1 files changed, 18 insertions, 0 deletions
diff --git a/xml/serializer.ixx b/xml/serializer.ixx
index 59d329f..5336c3f 100644
--- a/xml/serializer.ixx
+++ b/xml/serializer.ixx
@@ -6,6 +6,24 @@
namespace xml
{
+ // serialization
+ //
+ inline serialization::
+ serialization (const std::string& name, const std::string& d)
+ : name_ (name), description_ (d)
+ {
+ init ();
+ }
+
+ inline serialization::
+ serialization (const serializer& s, const std::string& d)
+ : name_ (s.output_name ()), description_ (d)
+ {
+ init ();
+ }
+
+ // serializer
+ //
inline void serializer::
start_element (const qname_type& qname)
{