#pragma once
#include <ranges><--- Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <concepts><--- Include file: not found. Please note: Cppcheck does not need standard library headers to get proper results.
namespace uni {
namespace internal {
template<class Range, class Graph>
concept topological_sortable_with =
std::same_as<std::ranges::range_value_t<Range>, typename Graph::node_type> &&
requires (Range *const r, typename Graph::node_type v) {
r->clear();
r->push_back(v);
std::ranges::ssize(*r);
};
}
}