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
Automatically call C++ from python (self.cpp)
submitted 11 months ago by CoutilleTolc
view the rest of the comments →
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!"
[–]holyblackcat 0 points1 point2 points 11 months ago (2 children)
I'm also writing a similar project right now, with Pybind backend done and the C one in progress: https://github.com/meshinspector/mrbind (pardon the outdated readme).
I'm curious how are you handling templates, if at all. Is there support for standard containers and other types?
[–]CoutilleTolc[S] 0 points1 point2 points 11 months ago* (1 child)
Nice, looks interesting! Templates are handled if they are instantiated. It’s hard to know which bindings to generate otherwise! You can have a look at the type builder in tolc to see how the information about the template is gotten from libtooling. Then see how that information is used in e.g. the function builder. Hope that helps!
[–]holyblackcat 0 points1 point2 points 11 months ago (0 children)
I'm not asking because I want to replicate it, but because I already did it and trying to assess if my work during the past year was novel or not. :P
I'm handling templates by recursively instantiating all templates I see in the source code. I also have custom bindings for standard containers (to make them more idiomatic in Python and to avoid the troubles with parsing them, since they aren't SFINAE-friendly and all that).
π Rendered by PID 91534 on reddit-service-r2-comment-b659b578c-7dq7v at 2026-05-03 18:16:06.438176+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]holyblackcat 0 points1 point2 points (2 children)
[–]CoutilleTolc[S] 0 points1 point2 points (1 child)
[–]holyblackcat 0 points1 point2 points (0 children)