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

Threaded View

  1. #4
    Join Date
    Jul 2013
    Posts
    576

    Re: Best way to allocate large memory

    Quote Originally Posted by OReubens View Post
    Sorry, but that's horrible advice. (even just on it's own).
    cleanup what you create. period. There is no good excuse for anything else.
    Do you clean up before smart pointers do their job?

    Probably not and in the same way there's no particular reason to clean up before the system does its job when a program terminates.

    But you must know the rules of course and maybe one cannot expect that from most programmers. So since this is no big deal for me I clean up my post.
    Last edited by razzle; July 30th, 2014 at 12:46 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