Extended ScopeExit MSVC workaround to do typedef typeof(this) ... to work also in type-of emulation mode.
typedef typeof(this) ...