r/cpp • Meeting C++ | C++ Evangelist • Oct 17 '26

A quick C++ standard container overview

https://meetingcpp.com/blog/items/A-quick-Cpp-standard-container-overview.html
23 Upvotes

20 comments sorted by

View all comments

4

u/CommodoreKrusty Oct 17 '26

I've written a boatload of examples (C++17) for STL including containers if anybody's interested.

1

u/heliruna Oct 20 '26

That's very cool, that is a large collection of examples. Are the sources for the examples available in a more convenient form?

I have produced examples for containers by hand to test my parser for debug information, but I made no effort that they are instructive or useful as tutorials.

I clicked randomly through the containers and found a dead link

https://cppexamples.com/Containers/forward_list/list_forward_list_cbegin.html

Have you considered running doxygen or MrDocs on your sources and publishing the results as well?

1

u/CommodoreKrusty Oct 21 '26

I'm a pretty decent C++ programmer. HTML? Not so much. I think if I do any more I'll be here forever working on this but I'll have to fix the broken link. I mostly put them online for me. I'll check out doxygen and MrDocs and see what they do.

1

u/azswcowboy Oct 17 '26

Cool - why not contribute to cppreference examples?

2

u/CommodoreKrusty Oct 18 '26

I think I just wanted to do my own thing. I started referring to these examples before I even finished writing them. I put them online so I could access them from anywhere but if they can help others I think that's great, too.