Date: Thu, 28 Feb 2019 20:39:38 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 236115] [toolchain] std::map doesn't have the 'extract' method Message-ID: <bug-236115-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236115 Bug ID: 236115 Summary: [toolchain] std::map doesn't have the 'extract' method Product: Base System Version: 11.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org https://en.cppreference.com/w/cpp/container/map/extract says that it is c++17 method, yet this testcase breaks: > #include <map> > > void f() { > std::map<int,int> m; > m.extract(1); > } > $ c++ -c --std=c++17 map-extract.cpp > map-extract.cpp:7:5: error: no member named 'extract' in 'std::__1::map<int, int, std::__1::less<int>, std::__1::allocator<std::__1::pair<const int, int> > >' > m.extract(1); > ~ ^ > 1 error generated. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236115-227>
