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.

Bug 159091

Summary: Wrong recognition of typedef
Product: cnd Reporter: nnnnnk <nnnnnk>
Component: Code ModelAssignee: issues@cnd <issues>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description nnnnnk 2009-02-24 18:10:04 UTC
Example:
struct struct_iterator {
    typedef int index;

    template <typename Iterator, typename N>
            struct advance {
        typedef typename Iterator::index index;
        typedef typename Iterator::struct_type struct_type;
        typedef struct_iterator<struct_type, index::value + N::value> type; // index is resolved as index from
struct_iterator
    };
};
Comment 1 nnnnnk 2009-03-03 12:25:25 UTC
Less than 20 unresolved ids on Boost 
Comment 2 nnnnnk 2010-04-23 18:21:05 UTC
Was fixed somewhere in time.