| William A. Kennington III | b07a2eb | 2023-01-03 18:14:40 -0800 | [diff] [blame] | 1 | #include <stdplus/hash/tuple.hpp> |
| 2 | |||||
| 3 | #include <string> | ||||
| 4 | |||||
| 5 | #include <gtest/gtest.h> | ||||
| 6 | |||||
| 7 | namespace stdplus | ||||
| 8 | { | ||||
| 9 | |||||
| 10 | TEST(HashTuple, Basic) | ||||
| 11 | { | ||||
| 12 | std::tuple<std::string, int> a{"bacon", 2}; | ||||
| 13 | std::hash<decltype(a)>{}(a); | ||||
| 14 | } | ||||
| 15 | |||||
| 16 | } // namespace stdplus | ||||