[Bug c++/23316] Unused copy constructor can't be private

2005-08-10 Thread giovannibajo at libero dot it
--- Additional Comments From giovannibajo at libero dot it 2005-08-10 13:52 --- Please read: http://gcc.gnu.org/gcc-3.4/changes.html -- What|Removed |Added

[Bug c++/23316] Unused copy constructor can't be private

2005-08-10 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-10 13:53 --- Please read: http://gcc.gnu.org/gcc-3.4/changes.html: When binding an rvalue of class type to a reference, the copy constructor of the class must be accessible. For instance, consider the following code:

[Bug c++/23316] Unused copy constructor can't be private

2005-08-10 Thread christian dot engstrom at glindra dot se
--- Additional Comments From christian dot engstrom at glindra dot se 2005-08-10 14:41 --- Subject: Re: Unused copy constructor can't be private giovannibajo at libero dot it wrote: Please read: http://gcc.gnu.org/gcc-3.4/changes.html Quite right. That was indeed a surprising