Boost logo

Boost Users :

From: Benjamin Lau (blwy10v_at_[hidden])
Date: 2006-10-09 02:55:07


> boost::undo::undo_manager s_undoManager;
>
> void
> activate_script()
> {
> boost::undo::transaction ut(s_undoManager);
> run_script();
> }
>
So you're saying that the transaction object in this case keeps track
of everything the script does without any additional code?

Benjamin Lau


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