22 Nov
2011
22 Nov
'11
8:12 p.m.
Hi, How can I call BOOST_SCOPE_EXIT when no variable needs to be captured? BOOST_SCOPE_EXIT () { CoUninitialize(); } BOOST_SCOPE_EXIT_END; doesn't work. I tried BOOST_SCOPE_EXIT (BOOST_PP_NIL) BOOST_SCOPE_EXIT (BOOST_PP_EMPTY) BOOST_SCOPE_EXIT (BOOST_PP_SEQ_NIL) but they don't work either. Bruno