Sync AMTL.
Sync AMTL.
1.1 --- a/include/am-hashmap.h Tue Aug 27 00:55:44 2013 -0700
1.2 +++ b/include/am-hashmap.h Thu Aug 29 11:46:21 2013 -0700
1.3 @@ -149,6 +149,9 @@
1.4 bool add(Insert &i, Moveable<K> key, Moveable<V> value) {
1.5 return table_.add(i, Entry(key, value));
1.6 }
1.7 + bool add(Insert &i, Moveable<K> key) {
1.8 + return table_.add(i, Entry(key, V()));
1.9 + }
1.10
1.11 // This can be used to avoid compiler constructed temporaries, since AMTL
1.12 // does not yet support move semantics. If you use this, the key and value