2011-10-12 20:28:33 +00:00
|
|
|
#ifndef SPROUT_FUNCTIONAL_HASH_SSCRISK_CEL_ARRAY_HPP
|
|
|
|
#define SPROUT_FUNCTIONAL_HASH_SSCRISK_CEL_ARRAY_HPP
|
|
|
|
|
|
|
|
#include <cstddef>
|
|
|
|
#include <sprout/config.hpp>
|
2013-02-04 14:10:24 +00:00
|
|
|
#include <sprout/functional/hash.hpp>
|
2011-10-12 20:28:33 +00:00
|
|
|
#include <sscrisk/cel/array.hpp>
|
|
|
|
|
|
|
|
namespace sprout {
|
2012-10-06 04:53:07 +00:00
|
|
|
//
|
|
|
|
// hash_value
|
|
|
|
//
|
2011-10-12 20:28:33 +00:00
|
|
|
template<typename T, std::size_t N>
|
2012-10-06 04:53:07 +00:00
|
|
|
inline SPROUT_CONSTEXPR std::size_t
|
|
|
|
hash_value(sscrisk::cel::array<T, N> const& v) {
|
2013-02-04 14:48:18 +00:00
|
|
|
return sprout::hash_range(v);
|
2011-10-12 20:28:33 +00:00
|
|
|
}
|
|
|
|
} // namespace sprout
|
|
|
|
|
|
|
|
#endif // #ifndef SPROUT_FUNCTIONAL_HASH_SSCRISK_CEL_ARRAY_HPP
|