nagyistoce / sparsehash

Automatically exported from code.google.com/p/sparsehash
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

cbegin and cend missing with including const ++ iterator #83

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
Fully compatible with std::map.

cbegin and cend missing with including const ++ iterator

What version of the product are you using? On what operating system?
sparsehash v2.0.2
Visual studio 2010 sp1
windows 7 64 bit

Please provide any additional information below.

Original issue reported on code.google.com by laboboL...@gmail.com on 24 Mar 2012 at 10:18

GoogleCodeExporter commented 9 years ago
I tried to make the classes compatible with c++11 unordered_set before I turned 
over ownership, but it looks like a few methods were added since I looked.  In 
addition to cbegin/cend, it looks like we need emplace and emplace_hint, and 
maybe a few others.  (I was looking here for the list: 
http://en.cppreference.com/w/cpp/container/unordered_map).

I'm not the maintainer anymore, but I'm sure that the folks who are would 
appreciate a patch!

Original comment by csilv...@gmail.com on 25 Mar 2012 at 1:14