implementation of gcc cleanup attribute for msvc

Discussion in 'C' started by cprogrammer112233, May 14, 2012.

  1. cprogrammer112233

    cprogrammer112233 New Member

    Joined:
    May 14, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    hello.

    how can one implement gcc's cleanup attribute for msvc?
    how destructors are implemented on top of msvc?
    In addition I want the behavior to be identical to the cleanup attribute so atexit is not an option since the cleanup should be performed at the end of each block.

    thanks.
     

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