After working 15 years in C++ I found that I don\'t understand references completely...
class TestClass { public: TestClass() : m_nData(0) { } T
1) you can't get not const reference to a temporary object
2) in the line c = TestClass(10); operator=(...) is called