This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54101] Using std::declval for types without a default constructor and with a deleted copy constructor errors.
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 27 Jul 2012 06:04:09 +0000
- Subject: [Bug c++/54101] Using std::declval for types without a default constructor and with a deleted copy constructor errors.
- Auto-submitted: auto-generated
- References: <bug-54101-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54101
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> 2012-07-27 06:04:09 UTC ---
I don't think the issue is with declval, this is probably a dup of the PR
saying that ?: has a wrong return type with g++ (can't find the number right
now).