This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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] | |
Chris Fairles wrote:To be honest, I was more focused on forward_list and treated compressed_pair more as a place holder albeit one that did what it needs to do. I studied some other implementations and put something together. I tested the sizeof and it did the trick.
Speaking of interfaces, should tuple's get, tuple_element, tuple_size
etc. be extended for __compressed_pair like they are for std::pair?
I have an answer for this question: I don't think so, I don't think, in general, we should keep to a minimum dependencies and links between Standard facilities and extensions.
About the other issue, I'll leave it to Ed. Agreed, if perfecting __compressed_pair turns out to be too annoying, we can also base forward_list on tuple, for now, at least...
Paolo.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |