This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/33605] Comparable concepts cause errors with abstract types
- From: "gcc at david dot osborn dot name" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Sep 2007 22:48:04 -0000
- Subject: [Bug libstdc++/33605] Comparable concepts cause errors with abstract types
- References: <bug-33605-13405@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from gcc at david dot osborn dot name 2007-09-30 22:48 -------
Created an attachment (id=14275)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14275&action=view)
Patch for predicate and arithmetic constraints
This patch fixes the immediate problem, but I think there may be other
instances of this issue in bits/boost_concept_check.h. See this comment:
// possibly should be "Tp* a;" and then dereference "a" in constraint
// functions? present way would require a default ctor, i think...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33605