--- 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)
{
--- 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
--- 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