I created VC++ 6 workspaces for the win32 version...
You can try them.
Win32 Source: http://home.archshadow.com/~daeken/openeq_win32.zip
VC++ 6 Project Files: http://www.freepgs.com/csn/openeq_win32_vc6.zip
__________________
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.
|