This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11887] [3.4 Regression] Problems with allocator::rebind::other
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Aug 2003 14:13:37 -0000
- Subject: [Bug c++/11887] [3.4 Regression] Problems with allocator::rebind::other
- References: <20030812000103.11887.poschmid@lbl.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11887
------- Additional Comments From bangerth at dealii dot org 2003-08-12 14:13 -------
I think the code is invalid: it should read
using allocator<int>::rebind<double>;
instead of
using typename allocator<int>::rebind<double>;
(possibly there needs to be a "template" after ::). Nevertheless, with or without
the typename, gcc ICEs.
W.