Any recommendations for best practices? The most elegant thing I came up with was simply using an allocator that allocated a known region for storage, and then memcpying that, but that's not.... great. I don't mind writing the code, I'm mostly curious if I missed something, if you have thoughts, or if there's an existing set of guidelines.
Any recommendations for best practices? The most elegant thing I came up with was simply using an allocator that allocated a known region for storage, and then memcpying that, but that's not.... great. I don't mind writing the code, I'm mostly curious if I missed something, if you have thoughts, or if there's an existing set of guidelines.