This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/11887] [3.4 Regression] Problems with allocator::rebind::other


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]