proxygen
|
#include <String-inl.h>
Public Member Functions | |
SplitTo (Delimiter delimiter) | |
TargetContainer | operator() (StringPiece line) const |
Private Attributes | |
Delimiter | delimiter_ |
ParseToTuple - For splitting a record and immediatlely converting it to a target tuple type. Primary used through the 'eachToTuple' helper, like so:
auto config = split("1:a 2:b", ' ') | eachToTuple<int, string>() | as<vector<tuple<int, string>>>();
Definition at line 377 of file String-inl.h.
|
inlineexplicit |
Definition at line 381 of file String-inl.h.
|
inline |
Definition at line 383 of file String-inl.h.
References FOLLY_POP_WARNING, i, and folly::gen::split().
|
private |
Definition at line 378 of file String-inl.h.