struct SkipWhitespace

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

SkipWhitespace()

Returns `false` if the given `absl::string_view` is empty *or* contains only

whitespace, indicating that `StrSplit()` should omit the string.

Example:

std::vector

<std

::string> v = absl::StrSplit(" a , ,,b,",

',', SkipWhitespace());

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

// SkipEmpty() would return whitespace elements

std::vector

<std

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

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

Public Methods

bool operator() (absl::string_view sp)

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