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 libstdc++/17866] std::allocator fails on CV-related types


------- Additional Comments From bangerth at dealii dot org  2004-10-06 20:28 -------
It would still be interesting to hear the opinion of the libstdc++ guys. 
Somehow I can't help feeling that it might even make sense to have an 
allocator for constant data objects and that the fact that the present 
standard specification is simply an oversight in that it doesn't 
allow this. Surely, it is simple enough to write a specialization of 
the allocator class that merges the two address() functions into one in 
case the template argument is a constant type. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|DUPLICATE                   |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17866


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