COIN-OR::LEMON - Graph Library

Changeset 740:819ca5b50de0 in lemon-1.2 for lemon/list_graph.h


Ignore:
Timestamp:
09/29/09 10:21:51 (15 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Add a warning for List(Di)Graph::Snapshot (#311)
and extend tests for snapshots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/list_graph.h

    r738 r740  
    752752      /// This function undos the changes until the last snapshot
    753753      /// created by save() or Snapshot(ListDigraph&).
     754      ///
     755      /// \warning This method invalidates the snapshot, i.e. repeated
     756      /// restoring is not supported unless you call save() again.
    754757      void restore() {
    755758        detach();
     
    15511554      /// This function undos the changes until the last snapshot
    15521555      /// created by save() or Snapshot(ListGraph&).
     1556      ///
     1557      /// \warning This method invalidates the snapshot, i.e. repeated
     1558      /// restoring is not supported unless you call save() again.
    15531559      void restore() {
    15541560        detach();
Note: See TracChangeset for help on using the changeset viewer.