------- Comment #4 from bangerth at dealii dot org  2006-09-28 06:06 -------
I think the error message is perfectly clear: it says that there is no
function
   foo (X)
but that there is a function that provides
   foo (X&)

We've gone through this many times that there is no way to say "see, you
try to bind an rvalue to a reference, this isn't working" because the
overload set of candidates may be larger than the single function above
and there is no way to guess what the user may mean.

So closing...

W.


-- 

bangerth at dealii dot org changed:

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


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

Reply via email to