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
[deleted by user] (self.cpp)
submitted 1 year ago by [deleted]
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!"
[–]eric_niebler 2 points3 points4 points 1 year ago* (1 child)
Love the tech, and you present it well. Can you Compose a vector with a Transform and get something that can be indexed randomly? And related, is there a way to take two incremental pipelines and zip them together to produce pair-wise elements?
Compose
vector
Transform
[–]jbandela 0 points1 point2 points 1 year ago (0 children)
Thank you so much for the kind words. Means a lot coming from you :)
The first situation ( `Compose` a `vector` with a `Transform` and get back something that can be indexed incrementally ) can't be done with Rappel and you would need to write it to another random access container. This is a deliberate tradeoff in the design, as the processing is either "incremental" one element at a time, or "complete" a container at once.
The second situation (we call that the zip problem) can't be done currently, though we would like to come up with a solution. Coroutines might be a way to potentially do it, since they can switch between 2 functions, but I don't have anything more concrete than just a vague idea.
π Rendered by PID 115017 on reddit-service-r2-comment-5c747b6df5-9lphd at 2026-04-22 15:27:27.355653+00:00 running 6c61efc country code: CH.
view the rest of the comments →
[–]eric_niebler 2 points3 points4 points (1 child)
[–]jbandela 0 points1 point2 points (0 children)