Chris, > i'm attempting to use std::hash<hpx::thread::id> and found a template > specialized version of std::hash<hpx::threads::id> in this file: > hpx/threading_base/threading_base_fwd.hpp > > The implementation makes use of a template specialized version of > std::hash<hpx::threads::thread_data const*>. > > Would recycling that code for hpx::thread::id and > hpx::threads::thread_data be sufficient or should I take another approach?
std::hash<hpx::threads::id> should just work for you (because of the code you mentioned). What issues do you have? Thanks! Regards Hartmut --------------- http://stellar.cct.lsu.edu https://github.com/STEllAR-GROUP/hpx _______________________________________________ hpx-users mailing list hpx-users@stellar-group.org https://mail.cct.lsu.edu/mailman/listinfo/hpx-users