Groups all values by their selected key.
Synopsis
Declared in <folly/gen/Base.h>
template<
class Selector = Identity,
class GroupBy = /* implementation-defined */>
GroupBy
groupBy(Selector selector = Selector());
Return Value
An operator yielding groups of values sharing a key.
Parameters
Name |
Description |
selector |
The projection producing the grouping key. |
Created with MrDocs