Thanks jbb...after a few days I decided to try again, downloaded anguish and recompiled openeq with the vc++6 project files.
Thanks again!
__________________
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.
|