Embedded Template Library  1.0
 All Classes Files Functions Variables Typedefs Friends Modules Pages
hash.h File Reference
#include <stdint.h>
#include "fnv_1.h"
#include "type_traits.h"

Go to the source code of this file.

Classes

struct  etl::hash< T >
 
struct  etl::hash< bool >
 
struct  etl::hash< char >
 
struct  etl::hash< signed char >
 
struct  etl::hash< unsigned char >
 
struct  etl::hash< wchar_t >
 
struct  etl::hash< short >
 
struct  etl::hash< unsigned short >
 
struct  etl::hash< int >
 
struct  etl::hash< unsigned int >
 
struct  etl::hash< long >
 
struct  etl::hash< long long >
 
struct  etl::hash< unsigned long >
 
struct  etl::hash< unsigned long long >
 
struct  etl::hash< float >
 
struct  etl::hash< double >
 
struct  etl::hash< long double >
 
struct  etl::hash< T * >
 

Functions

template<typename T >
enable_if< sizeof(T)==sizeof(uint32_t),
size_t >::type 
etl::__private_hash__::generic_hash (uint8_t *begin, uint8_t *end)
 Hash to use when size_t is 32 bits.
 
template<typename T >
enable_if< sizeof(T)==sizeof(uint64_t),
size_t >::type 
etl::__private_hash__::generic_hash (uint8_t *begin, uint8_t *end)
 Hash to use when size_t is 64 bits.