View Problem

Define an empty map

DiskEdit
python
map = {}
ExpandDiskEdit
erlang
Map = dict:new(),
ExpandDiskEdit
erlang
Map = orddict:new(),
ExpandDiskEdit
erlang
Map = gb_trees:empty(),
ExpandDiskEdit
erlang
Map = ets:new(the_map_name, [set, private, {keypos, 1}]),
ExpandDiskEdit
cpp C++/CLI .NET 2.0
Hashtable^ hash = gcnew Hashtable;
ExpandDiskEdit
cpp C++/CLI .NET 2.0
Generic::Dictionary<String^, String^>^ dict = gcnew Generic::Dictionary<String^, String^>();
ExpandDiskEdit
cpp
std::map<int, std::string> m;
DiskEdit
groovy
def map = [:]
DiskEdit
groovy
Map map = new HashMap();

Submit a new solution for python, csharp, erlang, cpp ...
There are 17 other solutions in additional languages (clojure, fantom, fsharp, go ...)