finally have the placement new working as desired.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user