I am looking for a detailed summary / links to important properties of various standard C ++ 11 containers and container adapters (optionally also including boost / Qt), but indexed by these properties , rather than regular container documentation (more on this below).
The properties that I have in mind include starting from the top of the head:
- Insertion options (front / rear / optional).
- Removal options (front / back / arbitrary).
- Access options (front / reverse / unified / bi-directional bypass / random access).
- The complexity of the above operations and the iterator cancellation rules.
- Uniqueness? Ordered? Associative? Continuous storage? Booking ahead of time?
Perhaps I forgot some, and in this case do not hesitate to comment / edit.
The goal is to use this document as an aid in choosing the right container / adapter to work properly without having to repeat each individual documentation every time (I have a terrible memory).
Ideally, it should be indexed both by property and by type of container (for example, in the form of a table) to ensure decision making, as well as for quick reference to the main restrictions. But indeed, for property indices, they are most important to me, as it is most painful to search the documentation.
I would be very surprised if no one created such a document, but my Search-fu couldn’t get me there.
NOTE: I do not ask you to summarize all this information (I will do it myself if I really need, in which case I will publish the result here), but only if you know an existing document that meets these requirements. Something like this is a good start, but as you can see, there is still a lot of information that I would like to have, as it is limited to member functions.
Thank you for attention.
source share