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 246683 - C++11: variadic template and partial specialization
Summary: C++11: variadic template and partial specialization
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: PC Solaris
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-25 15:46 UTC by Alexander Simon
Modified: 2014-09-18 11:05 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 Alexander Simon 2014-08-25 15:46:11 UTC
Unable to resolve identifier bar
C++11 code:

template <class T0, class ...T1> struct A {
    int foo() {
        return 1;
    }
};

template <class T> struct A<T> {
    int foo() {
        return 0;
    }
    int bar() {
        return 0;
    }
};

int main() {
    A<int>().bar();
    return A<int>().foo();
}
Comment 1 petrk 2014-08-27 21:34:54 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/d2c9a3bd8501
Comment 2 Quality Engineering 2014-08-28 02:39:46 UTC
Integrated into 'main-silver', will be available in build *201408280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d2c9a3bd8501
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #246683 - C++11: variadic template and partial specialization
Comment 3 Quality Engineering 2014-09-17 12:14:20 UTC
Integrated into 'releases/release801', will be available in build *201409171118* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/809b2d2f8b51
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #246683 - C++11: variadic template and partial specialization
(transplanted from d2c9a3bd85011d8ef8b635f82f9593bf7f069134)
Comment 4 soldatov 2014-09-18 11:05:22 UTC
Verified in NetBeans 8.0.1 patch1

-------------------------------------------------------------------------------
>Log Session: Thursday, September 18, 2014 2:47:00 PM MSK
>System Info: 
  Product Version         = NetBeans IDE 8.0.1 (Build 201409180010) (#ef6e99d0c0db)
  Operating System        = SunOS version 5.11 running on amd64
  Java; VM; Vendor        = 1.8.0_05; Java HotSpot(TM) 64-Bit Server VM 25.5-b02; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.8.0_05-b13
  Java Home               = /usr/jdk/instances/jdk1.8.0/jre
  System Locale; Encoding = en (nb); UTF-8