xml::Optional example added end extended

This commit is contained in:
Marc Wäckerlin committed 2009-05-06 07:22:21 +00:00
1 parent 2860cdf5ec
commit 5b541b72a8
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ class B: public xml::Serialize {
int main(int, char**) {
{ // Serialization as a member
std::stringstream ss("<B/>");
std::stringstream ss("<B><a><txt>Only this text is given</txt></a></B>");
B b;
b.loadXml(ss);
b.saveXml(std::cout)<<std::endl;