This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In the following example (orig. from Loki), iter in for is unresolved, while on the next line is ok. template<class K, class V> class normal_iterator { }; template<class K, class V> class AssocVector { public: typedef normal_iterator<K, V> iterator; }; template<class AbstractProduct, typename IdentifierType> class Factory { typedef AssocVector<IdentifierType, AbstractProduct> IdToProductMap; void foo() { for(typename IdToProductMap::iterator iter; ;) { // iter is unresolved } typename IdToProductMap::iterator iter; // ok } };
*** This issue has been marked as a duplicate of 144363 ***