eachToTuple overloads

Synopses

Declared in <folly/gen/String.h>

Splits each input string on a multi‐byte delimiter into a std::tuple.

template<class... Targets>
/* implementation-defined */
eachToTuple(StringPiece delim);

Splits each input string on a single‐character delimiter into a std::tuple.

template<class... Targets>
/* implementation-defined */
eachToTuple(char delim);

Return Value

An operator mapping each string to a tuple of converted fields.

Parameters

Name

Description

delim

The delimiter separating the fields.

Created with MrDocs