*: minor changes here and there

This commit is contained in:
Michele Caini
2020-12-02 15:48:14 +01:00
parent d7ed72ac06
commit cf176719a8
3 changed files with 3 additions and 4 deletions

1
TODO
View File

@@ -19,7 +19,6 @@
WIP:
* HP: headless (sparse set only) view
* HP: fake vtable, see dino:: for a reasonable and customizable (pay-per-use) approach
* HP: make view pack work also with groups, make packs input iterator only, add view adapter for external sources
* HP: write documentation for custom storages and views!!
* suppress warnings in meta.hpp (uninitialized members)

View File

@@ -194,8 +194,8 @@ definitely worth the price, at least for me.
## Any to the rescue
The reflection system offers a kind of _extended version_ of the `any` class
(see the core module for more details).<br/>
The reflection system offers a kind of _extended version_ of the `entt::any`
class (see the core module for more details).<br/>
The purpose is to add some feature on top of those already present, so as to
integrate it with the meta type system without having to duplicate the code.

View File

@@ -212,7 +212,7 @@ public:
* @param args Parameters to use to construct the instance.
*/
template<typename Type, typename... Args>
explicit meta_any(std::in_place_type_t<Type>, [[maybe_unused]] Args &&... args)
explicit meta_any(std::in_place_type_t<Type>, Args &&... args)
: storage(std::in_place_type<Type>, std::forward<Args>(args)...),
vtable{&basic_vtable<Type>},
node{internal::meta_info<Type>::resolve()}