HashTable: Added void operator=(std::initializer_list<Tuple2<Key, T>>)

This commit is contained in:
Henry Weller
2016-08-11 21:41:55 +01:00
parent e38022300f
commit 275a59af66
3 changed files with 37 additions and 1 deletions

View File

@ -165,6 +165,16 @@ int main()
table3.clearStorage();
Info<< table3 << nl;
table1 =
{
{"aca", 3.0},
{"aaw", 6.0},
{"acr", 8.0},
{"aec", 10.0}
};
Info<< "\ntable1" << table1 << nl;
Info<< "\nDone\n";
return 0;