Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 268484 - Code Completion adds #include <map> instead of #include <array>
Code Completion adds #include <map> instead of #include <array>
Product: cnd
Classification: Unclassified
Component: Code Completion
PC Solaris
: P3 (vote)
: 8.2
Assigned To: Alexander Simon
Depends on:
  Show dependency treegraph
Reported: 2016-10-12 12:16 UTC by soldatov
Modified: 2016-12-07 13:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2016-10-12 12:16:37 UTC
Platform: Solaris 11.3
Compiler: GCC 4.8.2
C++11 code:

int main(int argc, char** argv) {

    return 0;

Type 'std::arra', press Ctrl-Space and select 'array'
==> IDE adds #include <map> instead of #include <array>
Comment 1 Alexander Simon 2016-10-12 16:12:18 UTC
fixed in enum, branch release82, change set 581656f28d09
Comment 2 Quality Engineering 2016-10-20 01:58:40 UTC
Integrated into 'main-silver', will be available in build *201610200002* on (upload may still be in progress)

User: Alexander Simon <>
Log: fixed Bug #268467 Code completion adds #include <sstream> instead of #include <iostream>
Bug #268485 Code completion adds #include <bits/unordered_map.h> instead of #include <unordered_map>
Bug #268484 Code Completion adds #include <map> instead of #include <array>
(transplanted from 581656f28d09e2768942c6e9d7813742f8befb9f)
Comment 3 soldatov 2016-12-07 13:59:49 UTC
Verified in internal NetBeans 8,2 patch 1 build.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo