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 159058

Summary: Unresolved value in template specialization
Product: cnd Reporter: nnnnnk <nnnnnk>
Component: Code ModelAssignee: issues@cnd <issues>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description nnnnnk 2009-02-24 13:46:20 UTC
Example:
template<typename T, T t >
struct integral_c {
};

template< bool C >
struct integral_c<bool, C> {
    static const bool value = C;
};

template< typename T > struct is_reference : public integral_c<bool, false> {
};

int main() {
    is_reference<int>::value; // unresolved

    return 0;
}
Comment 1 nnnnnk 2009-03-03 12:24:53 UTC
Less than 20 unresolved ids on Boost