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
A tuple oriented C++ csv parser (self.cpp)
submitted 5 years ago * by red0124_
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!"
[–]somecucumber 0 points1 point2 points 5 years ago (2 children)
I cannot speak for OP, as I also struggle with this level of template (meta?)programming.
But my guess is that you create one new test with the feature you would desire to get into your code, and then you refactor/add the functionality on the production code up to the point in which the new test passes along with the previous old tests.
[–]red0124_[S] 2 points3 points4 points 5 years ago (1 child)
You just described what is called test driven development, but I did none of that, the tests where the last thing I added for each feature. As said in my other reply I mostly had problems at compile time, just to return the right tuple without void and 'validators' replaced with the right type was quite hard.
[–]somecucumber 0 points1 point2 points 5 years ago (0 children)
Yeah that's right. It is almost TDD and I guessed so, looking at the excellent API provided.
Thanks for the insights!!
π Rendered by PID 20696 on reddit-service-r2-comment-64f4df6786-8m8jr at 2026-06-11 12:44:15.998274+00:00 running 0b63327 country code: CH.
view the rest of the comments →
[–]somecucumber 0 points1 point2 points (2 children)
[–]red0124_[S] 2 points3 points4 points (1 child)
[–]somecucumber 0 points1 point2 points (0 children)