1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

add sprout/numeric/dft.wave.hpp

fix constexpr -> inline constexpr
This commit is contained in:
bolero-MURAKAMI 2012-07-15 16:04:05 +09:00
parent e4a4d17207
commit f9d4b475b4
69 changed files with 420 additions and 378 deletions

View file

@ -8,7 +8,7 @@
namespace sprout {
template<typename T, std::size_t N>
SPROUT_CONSTEXPR std::size_t hash_value(sscrisk::cel::array<T, N> const& v) {
inline SPROUT_CONSTEXPR std::size_t hash_value(sscrisk::cel::array<T, N> const& v) {
return sprout::hash_range(v.begin(), v.end());
}
} // namespace sprout

View file

@ -8,7 +8,7 @@
namespace sprout {
template<typename T1, typename T2>
SPROUT_CONSTEXPR std::size_t hash_value(sscrisk::cel::pair<T1, T2> const& v) {
inline SPROUT_CONSTEXPR std::size_t hash_value(sscrisk::cel::pair<T1, T2> const& v) {
return sprout::hash_combine(sprout::hash_combine(0, v.first), v.second);
}
} // namespace sprout