fix shadow and some undef warnings

This commit is contained in:
Philip Top
2019-12-19 10:52:03 -08:00
committed by Philip Top
parent bcee9f25a2
commit 605cd8ef4a

View File

@@ -209,7 +209,9 @@ struct is_container : conjunction<
negation<is_map<T>>, // not a map negation<is_map<T>>, // not a map
negation<std::is_same<T, std::string>>, // not a std::string negation<std::is_same<T, std::string>>, // not a std::string
#if __cplusplus >= 201703L #if __cplusplus >= 201703L
#if __has_include(<string_view>)
negation<std::is_same<T, std::string_view>>, // not a std::string_view negation<std::is_same<T, std::string_view>>, // not a std::string_view
#endif // has_include(<string_view>)
#endif #endif
has_iterator<T>, // has T::iterator has_iterator<T>, // has T::iterator
has_value_type<T> // has T::value_type has_value_type<T> // has T::value_type