[Bug libstdc++/45537] [c++0x] reject valid? no matching function for call to 'make_pair(void*&, int&)'

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Sep 4 19:41:00 GMT 2010



------- Comment #1 from pinskia at gcc dot gnu dot org  2010-09-04 19:41 -------
std::make_pair< void*, int > takes rvalue references which cannot bind to
lvalues.

See the discussion in PR 43785.

*** This bug has been marked as a duplicate of 43785 ***


-- 

pinskia at gcc dot gnu dot org changed:

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


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



More information about the Gcc-bugs mailing list