No, its possible, you just add a check in OP_ZoneChange. I havent ported the code into DR2 yet but if you look at my code for qFlag its entirely possible.
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
|