This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/37144] A bug in include/ext/pb_ds/detail/pat_trie_/constructors_destructor_fn_imps.hpp
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Dec 2008 18:32:23 -0000
- Subject: [Bug libstdc++/37144] A bug in include/ext/pb_ds/detail/pat_trie_/constructors_destructor_fn_imps.hpp
- References: <bug-37144-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #23 from hjl dot tools at gmail dot com 2008-12-11 18:32 -------
I am testing this patch:
Index: testsuite/util/regression/trait/assoc/type_trait.hpp
===================================================================
--- testsuite/util/regression/trait/assoc/type_trait.hpp (revision
142654)
+++ testsuite/util/regression/trait/assoc/type_trait.hpp (working copy)
@@ -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>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37144