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

EnTT 3.15.0

Loading...
Searching...
No Matches
ranges.hpp
1#ifndef ENTT_ENTITY_RANGES_HPP
2#define ENTT_ENTITY_RANGES_HPP
3
4#if __has_include(<version>)
5# include <version>
6#
7# if defined(__cpp_lib_ranges)
8# include <ranges>
9# include "fwd.hpp"
10
11template<class... Args>
12inline constexpr bool std::ranges::enable_borrowed_range<entt::basic_view<Args...>>{true};
13
14template<class... Args>
15inline constexpr bool std::ranges::enable_borrowed_range<entt::basic_group<Args...>>{true};
16
17template<class... Args>
18inline constexpr bool std::ranges::enable_view<entt::basic_view<Args...>>{true};
19
20template<class... Args>
21inline constexpr bool std::ranges::enable_view<entt::basic_group<Args...>>{true};
22
23# endif
24#endif
25
26#endif
entt::basic_group
Group.
Definition fwd.hpp:53
entt::basic_view
View implementation.
Definition fwd.hpp:47