#ifndef SPROUT_FUNCTIONAL_HASH_TO_HASH_HPP #define SPROUT_FUNCTIONAL_HASH_TO_HASH_HPP #include #include #include #include #include namespace sprout_adl { sprout::not_found_via_adl hash_value(...); } // namespace sprout_adl namespace sprout { // // to_hash // template inline SPROUT_CONSTEXPR std::size_t to_hash(T&& v) { using sprout::hash_value; using sprout_adl::hash_value; return hash_value(sprout::forward(v)); } } // namespace sprout #include #endif // #ifndef SPROUT_FUNCTIONAL_HASH_TO_HASH_HPP