Quote:
Originally Posted by jimbox114
Does nobody know how to fix this? If nothing does anybody have a source that does not have this problem? We have even taken the most recent (7-31-04) cvs and compiled it ourselves and it still has not changed this bug.
|
Um. If it need be disabled, comment it out.
__________________
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.
|