finally have the placement new working as desired.

This commit is contained in:
Lee Thomason
2012-02-06 08:41:24 -08:00
parent 2c85a711f1
commit d198322032
3 changed files with 155 additions and 40 deletions

View File

@@ -61,5 +61,11 @@ int main( int argc, const char* argv )
root->InsertEndChild( newElement );
doc.Print();
}
{
XMLDocument* doc = new XMLDocument();
static const char* test = "<element><sub/></element>";
doc->Parse( test );
delete doc;
}
return 0;
}