hash: Add support for arrays
There is now builtin support for stdplus::hash<> and
stdplus::hashMulti(...) hashing std::array<> and C array containers.
Change-Id: I111511fcd2c1627011b47cf3593cc9d63d752c1a
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/test/hash/array.cpp b/test/hash/array.cpp
new file mode 100644
index 0000000..73d2892
--- /dev/null
+++ b/test/hash/array.cpp
@@ -0,0 +1,14 @@
+#include <stdplus/hash/array.hpp>
+
+#include <gtest/gtest.h>
+
+namespace stdplus
+{
+
+TEST(HashTuple, Basic)
+{
+ std::array<std::string, 2> a{"bacon", "sound"};
+ std::hash<decltype(a)>{}(a);
+}
+
+} // namespace stdplus