qosd: добавлены итераторы по узлам

This commit is contained in:
2025-08-01 19:40:48 +07:00
committed by Сергей Маринкевич
parent 6a54024223
commit 28dd2c5afa
8 changed files with 208 additions and 16 deletions
+14
View File
@@ -0,0 +1,14 @@
#pragma once
/// \brief Интерфейс для классов-итераторов.
/// \tparam T Тип итерируемого элемента.
template <typename T>
class IIterator {
public:
virtual T* operator->() const = 0;
virtual operator const T*() const = 0;
virtual bool operator!=(const IIterator& other) const = 0;
virtual IIterator& operator++() = 0;
};