The Old New Thing

Using fibers to simplify enumerators, part 4: Filtering

One type of higher-order enumeration is filtering,where one enumerator takes the output of anotherenumerator and removes some elements.In a producer-driven enumerator, you would implement filteringby substituting a new callback function that responds to callbackson behalf of the client for items that should be filtered,and forwarding ...
Comments are closed.0 0