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}]),
DiskEdit
clojure
(def m {})
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;
ExpandDiskEdit
fsharp
let map = Map.empty
ExpandDiskEdit
fsharp
let map = new Generic.Dictionary<string, string>()
ExpandDiskEdit
fsharp
let map = new Hashtable()

Submit a new solution for python, erlang, clojure, cpp ...
There are 15 other solutions in additional languages (fantom, go, groovy, haskell ...)