A copy constructor of the following form is illegal in C++: A::A(A).The argument should be const A &.
Reference: C++ Strategies and Tactics by Robert B. Murray, Addison-Wesley, 1993., p. 60.
Sunday, December 20, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment