EnTT: src/entt/core/ranges.hpp Source File

EnTT 3.16.0

Loading...
Searching...
No Matches
ranges.hpp
1#ifndef ENTT_CORE_RANGES_HPP
2#define ENTT_CORE_RANGES_HPP
3
4#if __has_include(<version>)
5# include <version>
6#
7# if defined(__cpp_lib_ranges)
8# include <ranges>
9# include "iterator.hpp"
10
11template<class... Args>
12inline constexpr bool std::ranges::enable_borrowed_range<entt::iterable_adaptor<Args...>>{true};
13
14template<class... Args>
15inline constexpr bool std::ranges::enable_view<entt::iterable_adaptor<Args...>>{true};
16
17# endif
18#endif
19
20#endif
entt::iterable_adaptor
Utility class to create an iterable object from a pair of iterators.
Definition iterator.hpp:141