Yields values until the predicate holds, then stops.
Synopsis
Declared in <folly/gen/Base.h>
template<
class Predicate = Identity,
class Until = /* implementation-defined */>
Until
until(Predicate pred = Predicate());
Return Value
An operator yielding values up to the first satisfying pred.
Parameters
Name |
Description |
pred |
The predicate tested against each value. |
Created with MrDocs