support hash: pair, value_holder, optional, variant, tribool

This commit is contained in:
bolero-MURAKAMI 2013-02-04 10:24:23 +09:00
parent f3b405ad0f
commit 0a5f16ee81
18 changed files with 172 additions and 4 deletions

View file

@ -7,6 +7,9 @@
#include <sprout/array/array.hpp>
namespace sprout {
//
// hash_value
//
template<typename T, std::size_t N>
inline SPROUT_CONSTEXPR std::size_t
hash_value(sprout::array<T, N> const& v) {