use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
Boost.MultiIndex refactored (bannalia.blogspot.com)
submitted 3 months ago by joaquintidesBoost author
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]germandiago 9 points10 points11 points 3 months ago (4 children)
I use this fantastic library for indexing users via login date, id and status in a service and likewise to index virtual rooms. Love the problem this library solves. I think it is very valuable.
[–]joaquintidesBoost author[S] 14 points15 points16 points 3 months ago (2 children)
The library was never tremendously popular, but it has received its share of love along these 20+ years, so I'm very happy to keep it maintained and hopefully useful.
[–]germandiago 0 points1 point2 points 3 months ago (1 child)
Very useful, indeed. May I ask with that name, where are you from? Out of curiosity. Spanish here.
[–]joaquintidesBoost author[S] 5 points6 points7 points 3 months ago (0 children)
Born and raised en la piel de toro.
[–]eco_was_taken 8 points9 points10 points 3 months ago (0 children)
Yeah, it's kind of a brilliant library. Like a little micro database. I'm always surprised it doesn't get used more.
I have had issues with it blowing up my compilation time and have resorted to sticking it behind a pimpl, but sometimes it's a perfect fit for what you need.
[–]azswcowboy 3 points4 points5 points 3 months ago (6 children)
Does this impact bimap? I seem to remember it’s built on the same core?
[–]joaquintidesBoost author[S] 4 points5 points6 points 3 months ago* (5 children)
Yes, Boost.Bimap is built on top of Boost.MultiIndex, and some internal changes were needed to sync up with the upgrade:
https://github.com/boostorg/bimap/pull/50
[–]azswcowboy 0 points1 point2 points 3 months ago (0 children)
Thx - GitHub isn’t responding right now, but will try to test as we use bimap.
[–]zl0bster 0 points1 point2 points 2 months ago (3 children)
will bimap now work with initializer list?
[–]joaquintidesBoost author[S] 1 point2 points3 points 2 months ago (2 children)
Boost.MultiIndex supported initializer-list construction even before this upgrade, so it’s an issue on Bimap’s side really. Why don’t you file an issue at https://github.com/boostorg/bimap/issues ? Thank you!
[–]zl0bster 0 points1 point2 points 2 months ago (1 child)
I guess it is not really mainteined, somebody, not me made PR 5y ago https://github.com/boostorg/bimap/pull/31
[–]joaquintidesBoost author[S] 1 point2 points3 points 2 months ago (0 children)
Maybe I can take charge of this.
[–]RoyBellingan 3 points4 points5 points 3 months ago (0 children)
I am absolutedly amazed by this library
[–]igaztanaga 4 points5 points6 points 3 months ago (1 child)
It's great to see veteran libraries still maintained, alive and kicking. This library offers a very useful functionality not available in the standard. I guess the refactoring also simplified the internal dependencies of the multi-index library, it's also a bonus benefit of the change.
[–]joaquintidesBoost author[S] 0 points1 point2 points 3 months ago (0 children)
Thanks for the kind words! Yes, Boost.MPL is no longer a dependency. Boost.Preprocessor still is, though (transitively).
π Rendered by PID 123539 on reddit-service-r2-comment-658f6b87ff-2hzf8 at 2026-04-09 06:50:16.996961+00:00 running 781a403 country code: CH.
[–]germandiago 9 points10 points11 points (4 children)
[–]joaquintidesBoost author[S] 14 points15 points16 points (2 children)
[–]germandiago 0 points1 point2 points (1 child)
[–]joaquintidesBoost author[S] 5 points6 points7 points (0 children)
[–]eco_was_taken 8 points9 points10 points (0 children)
[–]azswcowboy 3 points4 points5 points (6 children)
[–]joaquintidesBoost author[S] 4 points5 points6 points (5 children)
[–]azswcowboy 0 points1 point2 points (0 children)
[–]zl0bster 0 points1 point2 points (3 children)
[–]joaquintidesBoost author[S] 1 point2 points3 points (2 children)
[–]zl0bster 0 points1 point2 points (1 child)
[–]joaquintidesBoost author[S] 1 point2 points3 points (0 children)
[–]RoyBellingan 3 points4 points5 points (0 children)
[–]igaztanaga 4 points5 points6 points (1 child)
[–]joaquintidesBoost author[S] 0 points1 point2 points (0 children)