template <typename C, bool has_value_type, bool has_mapped_type>
struct SplitterIsConvertibleToImpl
Defined at line 219 of file ../../third_party/abseil-cpp/src/absl/strings/internal/str_split_internal.h
A SplitterIsConvertibleTo
<C
>::type alias exists iff the specified condition
is true for type 'C'.
Restricts conversion to container-like types (by testing for the presence of
a const_iterator member type) and also to disable conversion to an
std::initializer_list (which also has a const_iterator). Otherwise, code
compiled in C++11 will get an error due to ambiguous conversion paths (in
C++11 std::vector
<T
>::operator= is overloaded to take either a std::vector
<T
>
or an std::initializer_list
<T
>).