BloombergLP::bdlb::TransparentStringHash::operator()

Return a hash code generated from the contents of the specified str.

Synopsis

Declared in <bdlb_transparentstringhash.h>

template<
    class CHAR,
    class TRAITS,
    class ALLOCATOR>
std::size_t
operator()(bsl::basic_string<CHAR, TRAITS, ALLOCATOR> const& str) const;

Return Value

hash code generated from the contents of str

Parameters

NameDescription
strbsl::basic_string whose contents are hashed