1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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