mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 14:51:40 +00:00
added doxygen comment & TODOs
svn-id: r10604
This commit is contained in:
parent
e1128abe64
commit
48e94ef721
11
common/map.h
11
common/map.h
@ -25,6 +25,17 @@
|
||||
|
||||
namespace Common {
|
||||
|
||||
/**
|
||||
* Template based map (aka dictionary) class which uniquely maps elements of
|
||||
* class Key to elements of class Value.
|
||||
*
|
||||
* @todo This implementation is fairly limited. In particular, the tree is not
|
||||
* balanced. Ultimately this template should be reimplemented, e.g. using
|
||||
* a red-black tree. Or if one day using Std C++ lib becomes acceptable,
|
||||
* we can use that.
|
||||
* @todo Having unit tests for class map would be very desirable. There are a
|
||||
* big number of things which can go wrong in this code.
|
||||
*/
|
||||
template <class Key, class Value>
|
||||
class Map {
|
||||
protected:
|
||||
|
Loading…
x
Reference in New Issue
Block a user