[v3] bits/memoryfwd.h

Benjamin De Kosnik bkoz@redhat.com
Fri Mar 8 21:45:00 GMT 2013


Hey y'all. 

I noticed the repeated, repeated, repeated use of
std::allocator forward decls as I was trying to debug some doxygen
output.

Clearly, it's past time for a memory forward header, like
bits/stringfwd.h. The following patch implements this. Perhaps some of
the other headers can now be optimized because of this, but that was
not my primary focus. Instead, I was just trying to come up with the
smallest patch that was semantically equivalent to existing trunk.

tested x86/linux

-benjamin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20130308-1.patch
Type: text/x-patch
Size: 11147 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20130308/8c0e3a22/attachment.bin>


More information about the Libstdc++ mailing list