Re: [Boost-users] Boost.Serialization: Error on Calling Class Method during serialization process
24 Aug
2011
24 Aug
'11
1:24 p.m.
Hazrat Pradipta Ranjali
I have the following problem when I try to call method in "TestSerialize" class during serialization process.
Here is my code:
class TestSerialize { public: std::string GetVal() { return Val + "abc"; } void SetVal(std::string tVal) { Val = tVal.substr(0, 2); }
GetVal() needs to be declared as const HTH Alex
4843
Age (days ago)
4843
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alex Perry