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 217448 - [73cat] Invalid code assistance for move constructor.
Summary: [73cat] Invalid code assistance for move constructor.
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-27 08:38 UTC by kosmonaffft
Modified: 2013-06-12 07:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Invalid move ctor signature. (26.88 KB, image/png)
2012-08-27 08:38 UTC, kosmonaffft
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kosmonaffft 2012-08-27 08:38:14 UTC
Created attachment 123598 [details]
Invalid move ctor signature.

There is template class Vector
template <typename T>
class Vector {...}
with move ctor defined as
Vector(Vector && v) throw () {...}

In code assistance this ctor is shown as Vector(Vector&), but i think variant Vector(Vector&&) is more correct. See screenshot.
Comment 1 Vladimir Voskresensky 2013-05-16 13:13:33 UTC
http://hg.netbeans.org/cnd-main/rev/0715419a4ee6
Comment 2 kosmonaffft 2013-06-12 07:53:10 UTC
Verified in NetBeans IDE Dev (Build 201306102301)