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

@ -17,4 +17,14 @@ namespace sprout {
}
} // namespace sprout
namespace std {
//
// hash
//
template<typename T>
struct hash<sprout::complex<T> >
: public sprout::hash<sprout::complex<T> >
{};
} // namespace std
#endif // #ifndef SPROUT_COMPLEX_HASH_HPP