Advertisement
Guest User

Visual C++ 2010 fails to call the destructor.

a guest
Dec 7th, 2011
476
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. class TestDtor
  2. {
  3. public:
  4.     TestDtor()
  5.     {
  6.         BOOST_ASSERT(false);
  7.     }
  8.  
  9.     ~TestDtor()
  10.     {
  11.         BOOST_ASSERT(false);
  12.     }
  13. };
  14.  
  15. static TestDtor test_dtor;
  16.  
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement