------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-25 
17:48 -------
  BasicList(BasicList<T>& a) ;

BasicList<type> a();

BasicList<type> list;

list = a();

Not a bug since the copy construtor for BasicList does not accept rvalues (a() 
returns an rvalue).

Either change 
  BasicList(BasicList<T>& a) ;
to
  BasicList(const BasicList<T>& a) ;

or change it so that a() returns a reference.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18651

Reply via email to