summaryrefslogtreecommitdiff
path: root/libxsd/xsd/cxx/xml/string.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-12-08 16:18:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-12-08 16:18:01 +0200
commit1ca6396a3dd284241de11bcaa210ad5836e8e5a8 (patch)
tree465c19f0d668a91bb556d748911847acfb80cb09 /libxsd/xsd/cxx/xml/string.hxx
parentd71611d5fb575078bdf573c35257bb86bb7054e0 (diff)
Multiple object model character encodings support
Also add support for ISO-8859-1.
Diffstat (limited to 'libxsd/xsd/cxx/xml/string.hxx')
-rw-r--r--libxsd/xsd/cxx/xml/string.hxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/libxsd/xsd/cxx/xml/string.hxx b/libxsd/xsd/cxx/xml/string.hxx
index 2d08134..ec666ee 100644
--- a/libxsd/xsd/cxx/xml/string.hxx
+++ b/libxsd/xsd/cxx/xml/string.hxx
@@ -7,6 +7,7 @@
#define XSD_CXX_XML_STRING_HXX
#include <string>
+#include <cstddef> // std::size_t
#include <xsd/cxx/auto-array.hxx>
#include <xercesc/util/XercesDefs.hpp> // XMLCh
@@ -17,12 +18,6 @@ namespace xsd
{
namespace xml
{
- //
- //
- struct invalid_utf8_string {};
- struct invalid_utf16_string {};
-
-
// Transcode a null-terminated string.
//
template <typename C>
@@ -84,7 +79,7 @@ namespace xsd
}
}
-#endif // XSD_CXX_XML_STRING_HXX
+#endif // XSD_CXX_XML_STRING_HXX
#include <xsd/cxx/xml/string.ixx>
#include <xsd/cxx/xml/string.txx>