This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/71187] declval() can be implemented without requiring a template instantiation
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 14 Sep 2017 16:14:58 +0000
- Subject: [Bug libstdc++/71187] declval() can be implemented without requiring a template instantiation
- Auto-submitted: auto-generated
- References: <bug-71187-4@http.gcc.gnu.org/bugzilla/>
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.