c++ - When should I use serialization library in boost -
recently, found boost's serialization library. when use save data file, found library not expected be.
because i'm not using interface iserializable , implement methods save , load of interface. instead, should add friend class, , implement function template. personally, think it's ugly ( although design idea may kind of nice , tricky). , when try store 2 points text file, file this:
obviously it's hard human read.
question is:
1. in kind of situation should use library serialization work. example, should use store 3d points file? or should use in more complex scenarios.
2. there way me control format of output file? because think figure above hard understand.
Comments
Post a Comment