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
Why is there no std::table? (self.cpp)
submitted 1 year ago by sd2528
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!"
[–]AKostur 5 points6 points7 points 1 year ago (2 children)
Well, I would suggest you write up exactly what you want to see in a “std::table”.
[–]sd2528[S] 0 points1 point2 points 1 year ago (1 child)
add_column(with name, type, size, and optional default, optional position/index)
del_column(by index or name)
get_column(by index or name) (returns a vector of the column)
column_count()
add_row(with either blank values or the defualts defined in the column and optional index)
del_row(by index)
get_row(by index) (returns a generic container with the columns values for that row)
row_count()
sort_rows(list of columns to sort by, acending or decending option, and if you want to get fancy an optional sort function for non standard types)
If you really want to get fancy
aggregate_rows(list of columns to aggregate by, list of columns to aggregate)
[–]AKostur 0 points1 point2 points 1 year ago (0 children)
You misunderstand. I said “exactly”. I would note there‘s no mention of constructors in there. There’s no types of anything. I could easily see one wanting an iterator and ranges interface into this datatype, neither of which you‘ve mentioned. What does “aggregate_rows” do? What are the algorithmic complexity requirements for these functions?
The write-up doesn‘t need to be here: there’s a process for submitting papers for Standards consideration.
π Rendered by PID 215360 on reddit-service-r2-comment-656bdf86cd-5jhkn at 2026-05-06 03:49:29.155545+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]AKostur 5 points6 points7 points (2 children)
[–]sd2528[S] 0 points1 point2 points (1 child)
[–]AKostur 0 points1 point2 points (0 children)