Collects a sequence into a container of the given type.

Synopsis

Declared in <folly/gen/Base.h>

template<
    class Collection,
    class Collect = /* implementation-defined */>
Collect
as();

Return Value

A sink that materializes the sequence into the container.

Created with MrDocs