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
28
#pragma once


#include <concepts><--- Include file:  not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <type_traits><--- Include file:  not found. Please note: Cppcheck does not need standard library headers to get proper results.

#include "internal/concepts.hpp"


namespace uni {

namespace internal {


template<class T>
concept basic_tree =
    std::default_initializable<T> &&
    std::integral<typename T::size_type> &&
    requires (T base, typename T::size_type key, typename T::node_pointer tree, const typename T::node_pointer const_tree) {
        base.split(const_tree, key, tree, tree);
        base.merge(tree, const_tree, const_tree);
    };


} // namespace internal


} // namespace name