| #include <range/v3/view/transform.hpp> | #include <range/v3/view/transform.hpp> | ||||
| #include <spdlog/spdlog.h> | #include <spdlog/spdlog.h> | ||||
| #include <sstream> | |||||
| #include <cctype> | #include <cctype> | ||||
| #include <map> | #include <map> | ||||
| #include <set> | #include <set> | ||||
| return iv.low.to_string() + " < " + iv.high.to_string(); | return iv.low.to_string() + " < " + iv.high.to_string(); | ||||
| } | } | ||||
| } // namespace | |||||
| } // namespace | |||||
| std::string dependency::to_string() const noexcept { | std::string dependency::to_string() const noexcept { | ||||
| std::stringstream strm; | std::stringstream strm; | ||||
| } | } | ||||
| strm << "["; | strm << "["; | ||||
| auto iv_it = versions.iter_intervals(); | |||||
| auto it = iv_it.begin(); | |||||
| auto iv_it = versions.iter_intervals(); | |||||
| auto it = iv_it.begin(); | |||||
| const auto stop = iv_it.end(); | const auto stop = iv_it.end(); | ||||
| while (it != stop) { | while (it != stop) { | ||||
| strm << "(" << iv_string(*it) << ")"; | strm << "(" << iv_string(*it) << ")"; |