Boost logo

Boost Users :

From: Bruno Martínez (br1_at_[hidden])
Date: 2005-12-01 15:16:21


On Thu, 01 Dec 2005 17:38:45 -0200, sui tam <suitam2006_at_[hidden]> wrote:

> I have a structure as:
> stateStack a;
> typedef std::stack < state*, std_deque<state*>> 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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net