diff --git a/sprout/functional/hash/sscrisk/cel/utility.hpp b/sprout/functional/hash/sscrisk/cel/utility.hpp new file mode 100644 index 00000000..3fe729b5 --- /dev/null +++ b/sprout/functional/hash/sscrisk/cel/utility.hpp @@ -0,0 +1,16 @@ +#ifndef SPROUT_FUNCTIONAL_HASH_SSCRISK_CEL_UTILITY_HPP +#define SPROUT_FUNCTIONAL_HASH_SSCRISK_CEL_UTILITY_HPP + +#include +#include +#include +#include + +namespace sprout { + template + SPROUT_CONSTEXPR std::size_t hash_value(sscrisk::cel::pair const& v) { + return sprout::hash_combine(sprout::hash_combine(0, v.first), v.second); + } +} // namespace sprout + +#endif // #ifndef SPROUT_FUNCTIONAL_HASH_SSCRISK_CEL_UTILITY_HPP diff --git a/sprout/user_config.hpp b/sprout_user_config.hpp similarity index 100% rename from sprout/user_config.hpp rename to sprout_user_config.hpp diff --git a/user_config.hpp b/user_config.hpp deleted file mode 100644 index c0a86f4e..00000000 --- a/user_config.hpp +++ /dev/null @@ -1,4 +0,0 @@ - -//#define SPROUT_CONFIG_DISABLE_CONSTEXPR -//#define SPROUT_CONFIG_DISABLE_NOEXCEPT -//#define SPROUT_CONFIG_USE_SSCRISK_CEL