* include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
(PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target type before shifting. From-SVN: r101477
This commit is contained in:
parent
9f2583c785
commit
625684fa1c
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-06-30 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
|
||||
(PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
|
||||
type before shifting.
|
||||
|
||||
2005-06-29 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
PR libstdc++/21244 (cont^2)
|
||||
|
|
|
@ -88,8 +88,10 @@ namespace pb_assoc
|
|||
sizeof(typename PB_ASSOC_CLASS_C_DEC::size_type) << 3;
|
||||
|
||||
PB_ASSOC_CLASS_T_DEC
|
||||
const typename PB_ASSOC_CLASS_C_DEC::size_type PB_ASSOC_CLASS_C_DEC::s_highest_bit_1 =
|
||||
1 << (s_num_bits_in_size_type - 1);
|
||||
const typename PB_ASSOC_CLASS_C_DEC::size_type
|
||||
PB_ASSOC_CLASS_C_DEC::s_highest_bit_1 =
|
||||
(typename PB_ASSOC_CLASS_C_DEC::size_type) 1
|
||||
<< (s_num_bits_in_size_type - 1);
|
||||
|
||||
PB_ASSOC_CLASS_T_DEC
|
||||
void
|
||||
|
|
Loading…
Add table
Reference in a new issue