You can do the same thing with no C++11 features other than C99 variadic macros. (IMO cleaner, too).
#define SCOPE_EXIT(...)\
struct SE##__LINE__##_{~SE##__LINE__##_(){__VA_ARGS__;}}se##__LINE__##_