Opened 6 years ago
Closed 5 years ago
#12633 closed Feature Requests (fixed)
boost::unordered_map try_emplace
Reported by: | Owned by: | Daniel James | |
---|---|---|---|
Milestone: | Boost 1.64.0 | Component: | unordered |
Version: | Boost 1.60.0 | Severity: | Optimization |
Keywords: | try_emplace unordered | Cc: |
Description
Is there something planned to implement C++17 try_emplace function in unordered_map (and other unordered associative containers) ?
Change History (5)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
You're right, it's only for unordered_map, my bad I thought it was common to every associative container. I'm eager to test it.
comment:3 by , 6 years ago
actually boost::container::map does have try_emplace so it will be great to have it in boost::unordered_map as well.
comment:4 by , 6 years ago
Milestone: | To Be Determined → Boost 1.64.0 |
---|
comment:5 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I'm working on it, although only unordered_map has try_emplace. It might be in 1.64.0.