[Bug c++/24648] a template parse error
jesse at rigidbounds dot com
gcc-bugzilla@gcc.gnu.org
Tue Dec 23 19:36:00 GMT 2008
------- Comment #3 from jesse at rigidbounds dot com 2008-12-23 19:34 -------
This seems like the same issue to me. The first test() method compiles fine.
The second has the following error:
11: error: expected `;' before "itrValue"
class Test
{
void test(std::list<int>& intList)
{
std::list<int>::iterator itrValue = intList.begin();
}
template <class T>
void test(std::list<T>& listTemplate)
{
std::list<T>::iterator itrValue = listTemplate.begin();
}
};
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24648
More information about the Gcc-bugs
mailing list