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 268486 - Wrong insertion text for templates
Summary: Wrong insertion text for templates
Status: RESOLVED DUPLICATE of bug 267752
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-12 12:35 UTC by Vladimir Kvashin
Modified: 2016-10-12 15:51 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 Vladimir Kvashin 2016-10-12 12:35:46 UTC
When I try using std::map and select it from code completion, it inserts

std::map<typename _Key,typename _Tp,typename _Compare=std::less<_Key>,typename _Alloc=std::allocator<std::pair<const _Key,_Tp> >>

or 

std::map<_Key,_Tp,_Compare,_Alloc>

Both are incorrect.
It should be:

std::map<>
Comment 1 soldatov 2016-10-12 15:45:23 UTC
This issue duplicates issue 267752. This or that bug should be closed.
Comment 2 Vladimir Kvashin 2016-10-12 15:51:19 UTC

*** This bug has been marked as a duplicate of bug 267752 ***