Topic: Copy constructors
Author: Roman Lechtchinsky <wolfro@cs.tu-berlin.de>
Date: 1997/02/11 Raw View
Hi,
this question is about section 12.3.1 [class.conv.ctor]of the Dec 96 WP.
In paragraph 3 it says:
A copy-constructor is a converting constructor. An implicitly-declared
copy constructor ... may be called for implicit type conversions.
I'm a little confused since I once asked about this here and was
reassured that a copy constructor is NOT a conversion. Now I think I
have to ask once again: when exactly does a copy constructor perform a
conversion (and what kind of conversion is it)? If never then what does
the above mean?
Bye
Roman
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]