| 546 | } |
| 547 | template <typename... ArgsT> |
| 548 | static COVSCRIPT_ALWAYS_INLINE void construct(basic_var *val, ArgsT &&...args) |
| 549 | { |
| 550 | T *ptr = get_allocator().allocate(1); |
| 551 | ::new (ptr) T(std::forward<ArgsT>(args)...); |
| 552 | val->m_store.ptr = ptr; |
| 553 | } |
| 554 | static inline operators::result dispatcher(operators::type op, const basic_var *lhs, void *rhs) |
| 555 | { |
| 556 | using handler_t = operators::result (*)(void *, void *); |
no test coverage detected