|
|
@@ -2,6 +2,7 @@
|
|
|
#define ENTT_META_META_HPP
|
|
|
|
|
|
#include <array>
|
|
|
+#include <concepts>
|
|
|
#include <cstddef>
|
|
|
#include <iterator>
|
|
|
#include <memory>
|
|
|
@@ -1623,7 +1624,7 @@ public:
|
|
|
|
|
|
meta_iterator() = default;
|
|
|
|
|
|
- template<typename It>
|
|
|
+ template<std::bidirectional_iterator It>
|
|
|
meta_iterator(const meta_ctx &area, It iter) noexcept
|
|
|
: ctx{&area},
|
|
|
vtable{&basic_vtable<It>},
|
|
|
@@ -1704,7 +1705,7 @@ public:
|
|
|
|
|
|
meta_iterator() = default;
|
|
|
|
|
|
- template<bool KeyOnly, typename It>
|
|
|
+ template<bool KeyOnly, std::forward_iterator It>
|
|
|
meta_iterator(const meta_ctx &area, std::bool_constant<KeyOnly>, It iter) noexcept
|
|
|
: ctx{&area},
|
|
|
vtable{&basic_vtable<KeyOnly, It>},
|