Topic: Changes to initialisation and copying in FDIS?
Author: bparker@mailbox.uq.edu.au (Brian Parker)
Date: 1997/12/07 Raw View
I am interested in the final FDIS resolutions relating to some aspects
of class copying and initialisation which are important for an array
class I am developing, and I would appreciate it if someone with
access to the FDIS could answer any of the following, thanks.
(1) I understand that there was a proposal to allow a temporary to
initialise a non-const reference if the temp's class has a
reference-returning conversion operator (a change to 8.5.3
[dcl.init.ref]). Was this change accepted? If so, does it still apply
if the conversion operator returns a reference to the temp's type
itself (this is banned in CD2 in 12.3.2/1 [class.conv.fct])? If so,
is this conversion performed during template type deduction when
calling a template function with a non-const reference parameter?
(2) What was the final decision regarding 12.8/15 [class.copy] ?
(3) Was there any change made in 14.8.2/4 [temp.deduct] to allow an
implicit conversion during type deduction for a parameter of the form
class-template-name<arguments> (similar to the CD2-allowed implict
conversion to a base class)?
Thanks,
Brian Parker.
---
[ 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 ]