Boost logo

Boost :

From: Guillaume Melquiond (guillaume.melquiond_at_[hidden])
Date: 2004-07-17 05:00:33


Hi,

Lines 572-573 of multi_pass.hpp are:

  ensure_initialized();
  return !data || data->input == InputT();

The code tries to read data in ensure_initialized even when testing for
end of file (which means the input iterator is invalid). So here comes a
patch.

Regards,

Guillaume




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk