Add toolchain-v5 compatibility Revert to C++20 (#587)

* Upgrade cppitertools, spdlog, fmt, rapidcheck
* Make compilation work on both v4 and v5 toolchains
This commit is contained in:
Marko Budiselić
2024-02-19 21:09:54 +01:00
committed by GitHub
parent 7ec648b4ce
commit 61b9bb0f59
61 changed files with 576 additions and 172 deletions

View File

@@ -139,6 +139,11 @@ struct NodeId {
std::string id_space;
};
#if FMT_VERSION > 90000
template <>
class fmt::formatter<NodeId> : public fmt::ostream_formatter {};
#endif
bool operator==(const NodeId &a, const NodeId &b) { return a.id == b.id && a.id_space == b.id_space; }
std::ostream &operator<<(std::ostream &stream, const NodeId &node_id) {