Changeset 533 for trunk/nv/stl/container/hash_table_policy.hh
- Timestamp:
- 01/12/17 13:16:48 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nv/stl/container/hash_table_policy.hh
r432 r533 145 145 { 146 146 template< typename H > 147 static enable_if_t< is_integral< H >::value, size_t>148 get_index( H h, size_tn ) { return h % n; }147 static enable_if_t< is_integral< H >::value, uint32 > 148 get_index( H h, uint32 n ) { return h % n; } 149 149 150 150 template< typename H > 151 static enable_if_t< is_class< H >::value, size_t>152 get_index( H h, size_tn ) { return h.value() % n; }151 static enable_if_t< is_class< H >::value, uint32 > 152 get_index( H h, uint32 n ) { return h.value() % n; } 153 153 154 154
Note: See TracChangeset
for help on using the changeset viewer.