All Questions
2
questions
1
vote
1
answer
2k
views
Returning containers from function - C++ [closed]
I've been trying to implement a few interfaces for processing data. And most of the time I do new of container and return a smart pointer to this container. ...
5
votes
2
answers
4k
views
Bidirectional map based on memory manipulation
This is a bidirectional map implementation that stores the values as pairs on the heap, and uses pointer arithmetic for efficient lookup.
codepad link, may be easier to read
...