Changeset 384 for trunk/nv/stl/rtti_support.hh
- Timestamp:
- 06/04/15 18:46:42 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nv/stl/rtti_support.hh
r382 r384 61 61 } 62 62 63 // run-time hash64 inline uint64 rtti_hash( const char* str )65 {66 uint64 hash = detail::rtti_hash_basis;67 while ( *str != 0 )68 {69 hash ^= (uint64)str[0];70 hash *= detail::rtti_hash_prime;71 ++str;72 }73 return hash;74 }75 76 63 template < typename T > 77 64 struct rtti_type_hash
Note: See TracChangeset
for help on using the changeset viewer.