fix math::log implementation

support std::hash
This commit is contained in:
bolero-MURAKAMI 2013-02-07 03:11:17 +09:00
parent 9140b68379
commit 66da9f4fea
20 changed files with 288 additions and 5 deletions

View file

@ -2,6 +2,7 @@
#define SPROUT_ARRAY_HASH_HPP
#include <cstddef>
#include <functional>
#include <sprout/config.hpp>
#include <sprout/array/array.hpp>
#include <sprout/functional/hash.hpp>
@ -17,4 +18,14 @@ namespace sprout {
}
} // namespace sprout
namespace std {
//
// hash
//
template<typename T, std::size_t N>
struct hash<sprout::array<T, N> >
: public sprout::hash<sprout::array<T, N> >
{};
} // namespace std
#endif // #ifndef SPROUT_ARRAY_HASH_HPP