No problems here. /shrug
If you use /loc, the game will report the values as:
Your Location is: Y, X, Z
so you need to flip them. But if you use #loc,
Your Location is: X,Y,Z
so you dont.
__________________
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.
|