8#ifndef INCLUDED_BSLH_HASHTHREADID
9#define INCLUDED_BSLH_HASHTHREADID
100#include <bslscm_version.h>
107#ifdef BSLS_LIBRARYFEATURES_HAS_CPP11_BASELINE_LIBRARY
113#ifdef BSLS_LIBRARYFEATURES_HAS_CPP11_BASELINE_LIBRARY
119template <
class t_HASH_ALG>
120void hashAppend(t_HASH_ALG& algorithm,
const std::thread::id& tid);
125struct HashThreadId_ImpUtil {
126 static std::size_t getHashInput(
const std::thread::id& tid);
135template <
class t_HASH_ALG>
136void hashAppend(t_HASH_ALG& algorithm,
const std::thread::id& tid)
138 hashAppend(algorithm, HashThreadId_ImpUtil::getHashInput(tid));
#define BSLS_IDENT(str)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238
Definition bslh_defaulthashalgorithm.h:339
bsl::enable_if<(bsl::is_integral< TYPE >::value||bsl::is_pointer< TYPE >::value||bsl::is_enum< TYPE >::value)&&!bsl::is_same< TYPE, bool >::value >::type hashAppend(HASH_ALGORITHM &hashAlg, TYPE input)
Definition bslh_hash.h:643