We have some code that uses MSXML, and does this to create the XML document object: MSXML2::IXMLDOMDocumentPtrdoc_in;
login.aspx if (IsPostBack == false) { //destroy any login information Session[\"password\"] = \"false\"; Session[\"login\"] = \"false\";
I have recently managed to get a stack overflow when destroying a tree by deleting its root \'Node\', while the Node destructor is similar to this:
I have some shared pointer shared_ptr<T> pointer1(new T(1));. Now, in some other part of code I have an explicit copy of pointer2 (guess it would be stored in a std::map or some other container)
is the following code safe (it works in DEBUG) : void takesPointer(const开发者_运维知识库 Type* v);//this function does read from v, it doesn\'t alter v in any way