namespace dk { template HashType make_signature_hash() { #if defined(__GNUC__) //TODO: use bt::string if possible const char* const pf = __PRETTY_FUNCTION__; const std::size_t len = sizeof(__PRETTY_FUNCTION__) - 1; //constexpr bt::string func_pretty(pf); #else # error "Unknown compiler" #endif //return implem::hash_string(func_pretty.data(), func_pretty.size()); return implem::hash_string(pf, len); } } //namespace dk