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 159328 - Unresolved static cast to template
Summary: Unresolved static cast to template
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: nnnnnk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-27 15:00 UTC by nnnnnk
Modified: 2010-12-06 11:54 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-27 15:00:22 UTC
Example:
template<class T>
struct A {
    A(int) {        
    }
    int bar() {
    }
};
void foo() {
    static_cast<A<int> >(0).bar();
}
Comment 1 nnnnnk 2009-03-03 12:25:50 UTC
Less than 20 unresolved ids on Boost 
Comment 2 Vladimir Voskresensky 2010-11-03 19:08:14 UTC
the same with reinterpret_cast (quite a few in clucene)