18 #ifndef __utlSTDHeaders_h 19 #define __utlSTDHeaders_h 25 #if __cplusplus < 201103L 28 #define utl_shared_ptr std::tr1::shared_ptr 29 #include <tr1/unordered_map> 30 #define utl_unordered_map std::tr1::unordered_map 31 #define utl_hash std::tr1::hash 33 #define __UTL_constexpr const 45 #define __UTL_constexpr constexpr 48 #define utl_shared_ptr std::shared_ptr 49 #include <unordered_map> 50 #define utl_unordered_map std::unordered_map 51 #define utl_hash std::hash 54 #include <type_traits> 72 seed ^= utl_hash<T>()(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
80 #if __cplusplus < 201103L 86 class hash<
std::vector<T> >
93 size_t size = in.size();
95 for (
size_t i = 0; i < size; i++)
101 #if __cplusplus < 201103L
std::vector< T > argument_type
std::vcl_size_t result_type
static int seed
seed for random number generation
result_type operator()(argument_type const &in) const
void hash_combine(std::vcl_size_t &seed, T const &v)