diff --git a/toml/traits.hpp b/toml/traits.hpp index 0064e37..a1c6144 100644 --- a/toml/traits.hpp +++ b/toml/traits.hpp @@ -209,7 +209,9 @@ struct is_container : conjunction< negation>, // not a map negation>, // not a std::string #if __cplusplus >= 201703L +#if __has_include() negation>, // not a std::string_view +#endif // has_include() #endif has_iterator, // has T::iterator has_value_type // has T::value_type