CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 24

Threaded View

  1. #1
    Join Date
    Oct 2008
    Posts
    45

    Using delete on an object without new

    Hi,

    I need a special class X to make this work without errors
    so what am i looking for besides overloading delete?

    void main()
    {
    X x;
    delete x;
    }

    thanks
    Last edited by Gorbo; December 29th, 2008 at 12:03 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured