[Bug c++/11887] [3.4 Regression] Problems with allocator::rebind::other
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Tue Aug 12 14:13:00 GMT 2003
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.
More information about the Gcc-bugs
mailing list