meta: constexpr all the way (see #883)

This commit is contained in:
Michele Caini
2022-05-04 16:10:37 +02:00
parent b0d69c50da
commit 96804b0b28
2 changed files with 3 additions and 2 deletions

1
TODO
View File

@@ -11,6 +11,7 @@ DOC:
* examples (and credits) from @alanjfs :)
WIP:
* fix meta iterators, they copy handles in some cases O.o
* add storage getter for filters to views and groups
* remove storage::base_type, make views extract the sparse set directly
* make non-const registry::get use const assure or the like

View File

@@ -1455,7 +1455,7 @@ public:
using reference = value_type;
using iterator_category = std::input_iterator_tag;
meta_iterator() ENTT_NOEXCEPT
constexpr meta_iterator() ENTT_NOEXCEPT
: deref{},
offset{},
handle{} {}
@@ -1545,7 +1545,7 @@ public:
using reference = value_type;
using iterator_category = std::input_iterator_tag;
meta_iterator() ENTT_NOEXCEPT
constexpr meta_iterator() ENTT_NOEXCEPT
: vtable{},
handle{} {}