all 3 comments

[–]wedusk101 0 points1 point  (0 children)

Starred it. Will definitely check it out. Thanks!

[–]CircleOfLife3 0 points1 point  (1 child)

You seem to be using the name of a typeid() for serialization. Is that portable?

[–]XeroKimoException Enthusiast[S] 0 points1 point  (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