Passes the specified input into the specified hashAlg to be combined into the internal state of the algorithm which is used to produce the resulting hash value. Note that the enable_if meta-function is used to enable this hashAppend function for only floating point (excluding long double) types, because these types need to have +/-0.0 normalized to 0.0 before they can be hashed as a continuous sequence of bytes. Also note that this function is defined inline because MS Visual Studio compilers before 2013 require (some) functions declared using enable_if be in-place inline.
Declared in <bslh_hash.h>
template<
class HASH_ALGORITHM,
class TYPE>
void
hashAppend(
HASH_ALGORITHM& hashAlg,
TYPE input)
requires bsl::is_floating_point<TYPE>::value &&
!bsl::is_same<TYPE, long double>::value;