[Bug libstdc++/71187] declval() can be implemented without requiring a template instantiation

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 14 16:15:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71187

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I wonder if it would make sense to use the same __declval helper for
add_rvalue_reference too. That would allow us to lose the
__add_rvalue_reference_helper class template.


More information about the Gcc-bugs mailing list