In Evolution II we implemented #safegeo which moved you to the safe points of the current zone and stunned you for 60 seconds.
An idea you could consider.
__________________
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.
|