[Bug libstdc++/55861] [C++11] `std::shared_future::get' is not const-qualified

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 3 14:22:00 GMT 2013


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2013-01-03
         AssignedTo|unassigned at gcc dot       |redi at gcc dot gnu.org
                   |gnu.org                     |
   Target Milestone|---                         |4.8.0
     Ever Confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-01-03 14:22:05 UTC ---
The fix should be as simple as adding "const" to __basic_future::_M_get_result
and the three shared_future::get() functions.



More information about the Gcc-bugs mailing list