IOStream.h: forEachLine( std::istream & str_r, _Function & consume_r )
authorMichael Andres <ma@suse.de>
Fri, 16 Dec 2005 23:17:07 +0000 (23:17 +0000)
committerMichael Andres <ma@suse.de>
Fri, 16 Dec 2005 23:17:07 +0000 (23:17 +0000)
commit037b05e7050507f2693a89e210bdc9ff87acb22f
treee1281fd02be9ed05d823599f481beeb96ba49f3c
parente5ee51c41c22977cf0fbb50efe225fcdda3c7224
IOStream.h: forEachLine( std::istream & str_r, _Function & consume_r )
  now expects a functor returning bool (or something which can be
  evaluated as bool). Returning 'false' will immediately abort scanning
  the file.
zypp/base/IOStream.h