Implementation of forward_list (and compressed_pair)

Paolo Carlini paolo.carlini@oracle.com
Sun Oct 12 10:10:00 GMT 2008


Hi,
> Greetings,
>
> Here is an implementation of forward_list and a supporting utility,
> compressed_pair, that might be used in other containers.
about __compressed_pair, I need a clarification about  the
COMPRESSED_PAIR_DUMMY_T2 thing. Also, as a nit, I think you should
replace _Tp to _T (single capitals are dangerous on some targets).

Well, admittedly, I had hoped a smaller, simpler, implementation...

Paolo.



More information about the Libstdc++ mailing list