diff --git a/toml/types.hpp b/toml/types.hpp index db93320..b879176 100644 --- a/toml/types.hpp +++ b/toml/types.hpp @@ -7,6 +7,11 @@ #include "traits.hpp" #include #include +#if __cplusplus >= 201703L +#if __has_include() +#include +#endif +#endif namespace toml { @@ -172,6 +177,9 @@ template struct is_container : conjunction< negation>, negation>, +#if __cplusplus >= 201703L + negation>, +#endif has_iterator, has_value_type >{};