1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#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);
    };


}


}