Re: Assignment Operator Bug

2011-07-07 Thread Miles Bader
Mactavish writes: > I have compiled this code in MS Visual C++ Express 2008 and it works as > it should be but when i compile this code in Mingw as a part of GCC ver > 4.4.1-2 the input() function should return a temporary object to 'ob' > object and invoke the assignment operator '=' but it doesn

Assignment Operator Bug

2011-07-07 Thread Mactavish
I have compiled this code in MS Visual C++ Express 2008 and it works as it should be but when i compile this code in Mingw as a part of GCC ver 4.4.1-2 the input() function should return a temporary object to 'ob' object and invoke the assignment operator '=' but it doesn't and it shows me erro