struct SkipEmpty

Defined at line 365 of file ../../third_party/abseil-cpp/src/absl/strings/str_split.h

SkipEmpty()

Returns `false` if the given `absl::string_view` is empty, indicating that

`StrSplit()` should omit the empty string.

Example:

std::vector

<std

::string> v = absl::StrSplit(",a,,b,", ',', SkipEmpty());

// v[0] == "a", v[1] == "b"

Note: `SkipEmpty()` does not consider a string containing only whitespace

to be empty. To skip such whitespace as well, use the `SkipWhitespace()`

predicate.

Public Methods

bool operator() (absl::string_view sp)

Defined at line 366 of file ../../third_party/abseil-cpp/src/absl/strings/str_split.h