mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 15:11:08 +08:00
re PR libstdc++/37144 (A bug in include/ext/pb_ds/detail/pat_trie_/constructors_destructor_fn_imps.hpp)
2008-12-12 H.J. Lu <hongjiu.lu@intel.com> PR libstdc++/37144 * testsuite/util/regression/trait/assoc/type_trait.hpp (regression_test_type_traits): Add const to pair_type_rebind. From-SVN: r142736
This commit is contained in:
parent
b0c2c850bd
commit
81ff169c9e
@ -1,3 +1,9 @@
|
||||
2008-12-12 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR libstdc++/37144
|
||||
* testsuite/util/regression/trait/assoc/type_trait.hpp
|
||||
(regression_test_type_traits): Add const to pair_type_rebind.
|
||||
|
||||
2008-12-12 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* src/atomic.cc: Correct guards to match mutex.cc.
|
||||
|
@ -87,7 +87,7 @@ namespace __gnu_pbds
|
||||
|
||||
typedef typename basic_type_rebind::const_reference basic_type_const_reference;
|
||||
|
||||
typedef typename cntnr::allocator_type::template rebind<std::pair<basic_type, basic_type> >::other pair_type_rebind;
|
||||
typedef typename cntnr::allocator_type::template rebind<std::pair<const basic_type, basic_type> >::other pair_type_rebind;
|
||||
typedef typename pair_type_rebind::const_reference pair_type_const_reference;
|
||||
|
||||
template<typename Gen>
|
||||
|
Loading…
x
Reference in New Issue
Block a user