template <typename Container, typename First, typename Second>
struct ConvertToContainer
Defined at line 467 of file ../../third_party/abseil-cpp/src/absl/strings/internal/str_split_internal.h
Partial specialization for containers of pairs (e.g., maps).
The algorithm is to insert a new pair into the map for each even-numbered
item, with the even-numbered item as the key with a default-constructed
value. Each odd-numbered item will then be assigned to the last pair's
value.
Public Methods
Container operator() (const Splitter<Delimiter, Predicate, StringType> & splitter)
Defined at line 471 of file ../../third_party/abseil-cpp/src/absl/strings/internal/str_split_internal.h
template <typename M>
std::enable_if_t<HasEmplace<M>::value, iterator> InsertOrEmplace (M * m, absl::string_view key)
Inserts the key and an empty value into the map, returning an iterator to
the inserted item. We use emplace() if available, otherwise insert().
Defined at line 489 of file ../../third_party/abseil-cpp/src/absl/strings/internal/str_split_internal.h
template <typename M>
std::enable_if_t<! HasEmplace<M>::value, iterator> InsertOrEmplace (M * m, absl::string_view key)
Defined at line 497 of file ../../third_party/abseil-cpp/src/absl/strings/internal/str_split_internal.h
iterator ToIter (std::pair<iterator, bool> pair)
Defined at line 502 of file ../../third_party/abseil-cpp/src/absl/strings/internal/str_split_internal.h
iterator ToIter (iterator iter)
Defined at line 505 of file ../../third_party/abseil-cpp/src/absl/strings/internal/str_split_internal.h