mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-04 14:14:09 +00:00
fix math::log implementation
support std::hash
This commit is contained in:
parent
9140b68379
commit
66da9f4fea
20 changed files with 288 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue