struct AllowEmpty
Defined at line 347 of file ../../third_party/abseil-cpp/src/absl/strings/str_split.h
AllowEmpty()
Always returns `true`, indicating that all strings--including empty
strings--should be included in the split output. This predicate is not
strictly needed because this is the default behavior of `StrSplit()`;
however, it might be useful at some call sites to make the intent explicit.
Example:
std::vector
<std
::string> v = absl::StrSplit(" a , ,,b,", ',', AllowEmpty());
// v[0] == " a ", v[1] == " ", v[2] == "", v[3] = "b", v[4] == ""
Public Methods
bool operator() (absl::string_view )
Defined at line 348 of file ../../third_party/abseil-cpp/src/absl/strings/str_split.h