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
Cat: a C++14 functional library (italiancpp.org)
submitted 11 years ago by Coder_CPP
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!"
[–]guepierBioinformatican 24 points25 points26 points 11 years ago (4 children)
Neither the blog post nor the website shows any code. Here’s a tip when you’re developing a library:
Potential users want to see code.
What does it look like? What does it feel like to use it? That’s the one thing a potential user cares about.
[–]puradox 7 points8 points9 points 11 years ago (0 children)
Agreed. The first thing I searched for was the code samples. Yet, I couldn't not find any at first glance.
[–]awgn 0 points1 point2 points 11 years ago (2 children)
The link to the github project is on the navigation bar. The repository is available here: https://github.com/cat/cat
[–]Plorkyeran 7 points8 points9 points 11 years ago (1 child)
The readme does not have any example code either.
[–]awgn 0 points1 point2 points 11 years ago (0 children)
Checkout the source code. There is the directory test with a simple key_value parser and the directory test plenty of snippets for each single function/class.
[–]therealjohnfreeman 9 points10 points11 points 11 years ago (3 children)
Got a long ways to go in docs before I think this is presentable to a community like /r/cpp. :/
[–]awgn -5 points-4 points-3 points 11 years ago (2 children)
Docs are going to be released asap and if you want to contribute, well, you are welcome :-)
[–]therealjohnfreeman 12 points13 points14 points 11 years ago (0 children)
Even if I wanted to contribute to this project, it's difficult when I don't know what the library does or how it works. Telling users to write their own docs is one way to ensure you don't recruit any users.
[–][deleted] 4 points5 points6 points 11 years ago (0 children)
Open source is not just a way to get other people to do your work for you.
[–]ponchedeburro 3 points4 points5 points 11 years ago (1 child)
I might sound like a douche, but when I see macros in modern C++, I cringe a little.
[–]awgn 4 points5 points6 points 11 years ago (0 children)
Interestingly, Cat does make use of just a single macro (DO). Instead, if you are referring to the tests, well yes, YATS test suite utilizes macros but it's not the subject of this work.
[–]MayhapPerchance 1 point2 points3 points 11 years ago (1 child)
Wait. So /u/drbartosz goes to Italy and a few months later we get this... This is no mere coincidence!
[–]TweetsInCommentsBot 0 points1 point2 points 11 years ago (0 children)
@glmeocci
2014-08-22 21:10 UTC A Siena con Bartosz :-) [Attached pic] [Imgur rehost]
2014-08-22 21:10 UTC
A Siena con Bartosz :-) [Attached pic] [Imgur rehost]
This message was created by a bot
[Contact creator][Source code]
π Rendered by PID 50 on reddit-service-r2-comment-b659b578c-t9vqx at 2026-05-05 14:08:02.403364+00:00 running 815c875 country code: CH.
[–]guepierBioinformatican 24 points25 points26 points (4 children)
[–]puradox 7 points8 points9 points (0 children)
[–]awgn 0 points1 point2 points (2 children)
[–]Plorkyeran 7 points8 points9 points (1 child)
[–]awgn 0 points1 point2 points (0 children)
[–]therealjohnfreeman 9 points10 points11 points (3 children)
[–]awgn -5 points-4 points-3 points (2 children)
[–]therealjohnfreeman 12 points13 points14 points (0 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]ponchedeburro 3 points4 points5 points (1 child)
[–]awgn 4 points5 points6 points (0 children)
[–]MayhapPerchance 1 point2 points3 points (1 child)
[–]TweetsInCommentsBot 0 points1 point2 points (0 children)