NotificationRange
Everything tmux says, until the deadline, as one loop.
Source and package
- Qualified name
-
libtmux::Notification Range - Namespace
- libtmux
- Package
- libtmux-cxx
- Source
- include/libtmux/control.hpp
-
Description#
Draining by hand is two nested loops and a break: ask for a batch, stop if it is empty, walk it, ask again. That shape was written six times across this repository's own tests and examples before this existed, which is the argument for it.
An input range, single pass. A
ParsedNotificationviews the notification it was read from, and this owns that notification only until the iterator advances — so copy what you need out of one before asking for the next.
Members3#
- begin method
- end method
- NotificationRange method