1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-28 12:02:00 +03:00

Include <string_view> in "nlohmann/json.hpp" when C++17 is used

This commit is contained in:
Alexander Karzhenkov
2020-12-20 19:40:36 +05:00
parent 39b8d6bd33
commit cd7acc1dc5
3 changed files with 8 additions and 4 deletions

View File

@ -16663,6 +16663,10 @@ template <class Key, class T, class IgnoredLess = std::less<Key>,
} // namespace nlohmann
#if defined(JSON_HAS_CPP_17)
#include <string_view>
#endif
/*!
@brief namespace for Niels Lohmann
@see https://github.com/nlohmann