poly: add missing template keyword
This commit is contained in:
12
TODO
12
TODO
@@ -6,20 +6,10 @@
|
||||
* add examples (and credits) from @alanjfs :)
|
||||
* static reflection, hint: template<> meta_type_t<Type>: meta_descriptor<name, func..., props..., etc...> (see #342)
|
||||
* update documentation for meta, it contains less than half of the actual feature
|
||||
|
||||
* custom pools example:
|
||||
- lockless fully concurrent ro/rw pool with free lists
|
||||
- multi instance
|
||||
- tables
|
||||
- enable/disable component
|
||||
- spatial query
|
||||
- runtime types pool
|
||||
- off-line/off-memory/remote
|
||||
- ...
|
||||
* custom pools example (multi instance, tables, enable/disable, and so on...)
|
||||
|
||||
WIP:
|
||||
* HP: remove storage category and get_as_tuple, make storage classes return tuple (+ view generator detect shared storage in future)?
|
||||
* HP: remove non-const registry::storage function?
|
||||
* HP: review registry::get, registry::try_get
|
||||
* HP: weak reference wrapper example with custom storage.
|
||||
* HP: merge view and view pack
|
||||
|
||||
@@ -277,7 +277,7 @@ public:
|
||||
*/
|
||||
template<typename Type, typename... Args>
|
||||
void emplace(Args &&... args) {
|
||||
storage.emplace<Type>(std::forward<Args>(args)...);
|
||||
storage.template emplace<Type>(std::forward<Args>(args)...);
|
||||
vtable = poly_vtable<Concept>::template instance<Type>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user