[Bug libstdc++/17866] std::allocator fails on CV-related types
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Wed Oct 6 20:28:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list