Function call operators

Synopses

Declared in <bdlb_transparentstringhash.h>

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

template<class CHAR>
std::size_t
operator()(CHAR const* str) const;

See the overload above for contract.

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

See the overload above for contract.

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

See the overload above for contract.

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

Created with MrDocs