Well, if you #include <unordered_map> and use a std::unordered_map, insertion will be O(1) in the average case.Originally Posted by aseminov
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 23
Threaded View
|
Click Here to Expand Forum to Full Width |