This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12311] Cannot resolve template methods properly
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Sep 2003 13:56:39 -0000
- Subject: [Bug c++/12311] Cannot resolve template methods properly
- References: <20030917025326.12311.davidcrowley@comcast.net>
- 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=12311
------- Additional Comments From bangerth at dealii dot org 2003-09-17 13:56 -------
For the time being, this is a workaround:
template <typename Z>
Z* getAs(D& d)
{
return d.template getAs<Z>();
}
Otherwise, wait for gcc 3.4.
W.