Produces a sequence referencing the elements of a const container.

Synopsis

Declared in <folly/gen/Base.h>

template<
    class Container,
    class From = /* implementation-defined */>
From
fromConst(Container const& source);

Return Value

A source generator over const references to the elements.

Parameters

Name

Description

source

The container whose elements are referenced.

Created with MrDocs