Where to release the object in Sinleton class?

Discussion in 'C' started by BS Dahiya, Sep 18, 2008.

Thread Status:
Not open for further replies.
  1. BS Dahiya

    BS Dahiya New Member

    Joined:
    Sep 18, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Where to release the object in Sinleton class? Should we go destructor(Private) or any other static member function? I mean , what is the best solution?
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice