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

Reply via email to