This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11077] enumerator value in template not assignable from bool
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jun 2003 12:42:14 -0000
- Subject: [Bug c++/11077] enumerator value in template not assignable from bool
- References: <20030603102315.11077.numerical.simulation@web.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11077
reichelt@gcc.gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From reichelt@gcc.gnu.org 2003-06-03 12:42 -------
This is essentially the same problem as in PR 9259.
Even Giovanni's workaround is applicable here: Write
sizeof(has_member_disambiguation::template check<T>(0))
instead of
sizeof(check<T>(0))
*** This bug has been marked as a duplicate of 9259 ***
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.