Nicol,
Please stop being so unwelcoming to first-timers!
As far as I know being up-to-date to the latest standard is not a requirement to post here.
Nor that's a requirement for good ideas.
There are several ways to point improvements to the OP and yours are always the worst.
If you goal is to chase away contributions to the future of C++, congrats you're getting there!
Kai,
Unofficially (since I am no ISO committee member, just someone looking into C++ improvements), my apologies for the reception to your proposal.
Even though I don't like the way `is_pod` and `std::byte` issues were pointed out they are correct indeed.
POD is no longer a thing. The concept of trivially copyable supercedes it.
And std::byte is new standard-sanctioned way to deals with binary data.
Please inform yourself about them:
std::byte.
What concerns me in your proposal are two points:
1) Does it comes to invoke undefined behavior while turning objects into a stream of bytes and back?
2) Are you aware of the reflection proposals for C++? (
p0194r4) If so, how do you expect your proposal to interact with it?
Other than that, I don't see the idea itself being inherently bad.
Good luck with your proposal.