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

add math tgamma

This commit is contained in:
bolero-MURAKAMI 2013-04-22 23:55:30 +09:00
parent f461643582
commit a55c430f09
10 changed files with 224 additions and 40 deletions

View file

@ -15,6 +15,13 @@ namespace sprout {
//
// to_hash
//
// effect:
// ADL callable hash_value(v) -> hash_value(v)
// otherwise -> sprout::hash_value_traits<T>::hash_value(v)
// [default]
// v is Arithmetic || Enum || Pointer || Array -> implementation-defined
// otherwise -> std::hash<T>()(v)
//
template<typename T>
inline SPROUT_CONSTEXPR std::size_t
to_hash(T&& v) {