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 - Unresolved value in template specialization
Summary: Unresolved value in template specialization
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: Sun All
: P4 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-24 13:46 UTC by nnnnnk
Modified: 2013-05-07 11:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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