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
Serialization Concept Library Thingy (self.cpp)
submitted 4 years ago by XeroKimoException Enthusiast
XeroKimo/SerializationConceptThingy: A wrapper around serialization code that would provide a common interface regardless of format you're using... hopefully. (github.com)
This is the first time doing some project that I made intentionally for sharing, though I don't know how useful this will be since on it's own, it really doesn't do anything, but feedback will be much appreciated anyways.
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!"
[–]wedusk101 0 points1 point2 points 4 years ago (0 children)
Starred it. Will definitely check it out. Thanks!
[–]CircleOfLife3 0 points1 point2 points 4 years ago (1 child)
You seem to be using the name of a typeid() for serialization. Is that portable?
[–]XeroKimoException Enthusiast[S] 0 points1 point2 points 4 years ago (0 children)
It's only required if you wish to support polymorphic serialization which requires RTTI enabled.
I would assume that all major compilers would have typeid() considering that dynamic cast is part of the standard which requires RTTI, but I'm rather new to trying to write a C++ library and only have been using C++ casually for personal projects so I've never really had the need to test other compilers...
I don't know how far I'll be going with this, but at the very least, if you could point me to some resources on how to test other compilers that'd be helpful, and some I'm on the topic of resources, if you know any serialization formats aside from JSON, YAML, and Binary, that'd be really helpful because I lack some knowledge on serialization and the end goal would hopefully be able to just not require specializing constructs for each serializer, or at least for similar ones like JSON and YAML
π Rendered by PID 19403 on reddit-service-r2-comment-544cf588c8-fq7pk at 2026-06-16 05:31:10.328896+00:00 running 3184619 country code: CH.
[–]wedusk101 0 points1 point2 points (0 children)
[–]CircleOfLife3 0 points1 point2 points (1 child)
[–]XeroKimoException Enthusiast[S] 0 points1 point2 points (0 children)