Skip to content

Instantly share code, notes, and snippets.

@hkaiser
Created June 8, 2017 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hkaiser/3938a6b54023047f39e1d5acf03707f4 to your computer and use it in GitHub Desktop.
Save hkaiser/3938a6b54023047f39e1d5acf03707f4 to your computer and use it in GitHub Desktop.
namespace std
{
template <>
struct <hpx::id_type>
{
typedef std::size_t result_type;
std::size_t operator()(hpx::id_type const& id) const
{
return std::hash<hpx::naming::gid_type>()(id.get_gid());
}
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment