GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
IIterable.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace gui_framework
6{
7 namespace interfaces
8 {
13 template<typename T, typename TForwardIterator, typename TConstForwardIterator> requires (std::is_base_of_v<IBaseForwardIterator<T, TForwardIterator>, TForwardIterator> && std::is_base_of_v<IBaseConstForwardIterator<T, TConstForwardIterator>, TConstForwardIterator>)
15 {
16 public:
17 IIterable() = default;
18
19 virtual TForwardIterator begin() noexcept = 0;
20
21 virtual TConstForwardIterator cbegin() const noexcept = 0;
22
23 virtual TForwardIterator end() noexcept = 0;
24
25 virtual TConstForwardIterator cend() const noexcept = 0;
26
27 virtual ~IIterable() = default;
28 };
29 }
30}
#define GUI_FRAMEWORK_API
Specify iterable class.
Definition IIterable.h:15
virtual TForwardIterator begin() noexcept=0