Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces
Teuchos_HashUtils.hpp File Reference

Utilities for generating hashcodes. More...

#include "Teuchos_ConfigDefs.hpp"
Include dependency graph for Teuchos_HashUtils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Teuchos::HashUtils
 Utilities for generating hashcodes. This is not a true hash ! For all ints and types less than ints it returns the i/p typecasted as an int. For every type more than the size of int it is only slightly more smarter where it adds the bits into int size chunks and calls that an hash. Used with a capacity limited array this will lead to one of the simplest hashes. Ideally this should be deprecated and not used at all. More...
 

Namespaces

 Teuchos
 

Detailed Description

Utilities for generating hashcodes.

Definition in file Teuchos_HashUtils.hpp.