computeHash overloads

Synopses

Declared in <bslalg_hashutil.h>

Return a size_t hash value corresponding to the specified key.

static
std::size_t
computeHash(char key);

Same as the preceding overload for a double key.

static
std::size_t
computeHash(double key);

Same as the preceding overload for a float key.

static
std::size_t
computeHash(float key);

Same as the preceding overload for an int key.

static
std::size_t
computeHash(int key);

Same as the preceding overload for a long key.

static
std::size_t
computeHash(long key);

Same as the preceding overload for a long long key.

static
std::size_t
computeHash(long long key);

Same as the preceding overload for a short key.

static
std::size_t
computeHash(short key);

Same as the preceding overload for a signed char key.

static
std::size_t
computeHash(signed char key);

Same as the preceding overload for an unsigned char key.

static
std::size_t
computeHash(unsigned char key);

Same as the preceding overload for an unsigned int key.

static
std::size_t
computeHash(unsigned int key);

Same as the preceding overload for an unsigned long key.

static
std::size_t
computeHash(unsigned long key);

Same as the preceding overload for an unsigned long long key.

static
std::size_t
computeHash(unsigned long long key);

Same as the preceding overload for an unsigned short key.

static
std::size_t
computeHash(unsigned short key);

Same as the preceding overload for a pointer key.

static
std::size_t
computeHash(void const* key);

Return Value

hash value corresponding to key

Parameters

Name

Description

key

value to hash

Created with MrDocs