1 Dec
2005
1 Dec
'05
8:16 p.m.
On Thu, 01 Dec 2005 17:38:45 -0200, sui tam
I have a structure as: stateStack a; typedef std::stack < state*, std_deque
> stateStack How can I serialize this structure? I cannot find any std::stack in the serialization header file.
I don't think it's psossible, because std::stack doesn't expose enough information. Either use deque/vector directly or inherit from std::stack to get access to the inner deque. Regards, Bruno