Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.c++.moderated    |    Moderated discussion of C++ superhackery    |    33,346 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 31,743 of 33,346    |
|    Martin B. to Le Chaud Lapin    |
|    Re: Cost of deleting a null pointer (2/2    |
|    15 Dec 11 15:43:07    |
      [continued from previous message]               pd = new Derived();        }               cout << "Deleting pointers ...\n";        delete p1;        delete p2;        delete pb;        delete pd;               return 0;       }                            --       I'm here to learn, you know.       Just waiting for someone,       to jump from the shadows,       telling me why I'm wrong.                      [ See http://www.gotw.ca/resources/clcm.htm for info about ]        [ comp.lang.c++.moderated. First time posters: Do this! ]              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca