[Bug c++/24648] a template parse error

2008-12-23 Thread jesse at rigidbounds dot com
--- 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& intList) {

[Bug c++/24648] a template parse error

2005-11-03 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2005-11-03 12:43 --- You are missing a 'typename' void operator()(K k) { hm[k] = 999; IntHashMap::iterator itr = hm.find(k); ^^^ here. IntHashMap is a dependent type. -- rguenth at gcc dot gnu dot org

[Bug c++/24648] a template parse error

2005-11-02 Thread hwon at 21cn dot com
--- Comment #1 from hwon at 21cn dot com 2005-11-03 04:32 --- It compile ok under gcc 2.95. But errors under gcc 3.4.2/3.4.4 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24648