added list.emplace<T>(..) for the C++ variant - bogus implementation for now
This commit is contained in:
parent
06d0b329ba
commit
853f301b0f
@ -94,6 +94,12 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
template<typename... Args>
|
||||
inline void emplace(Args&&... args) {
|
||||
// FIXME: placement new needed
|
||||
insert(T(std::forward<Args>(args)...));
|
||||
}
|
||||
|
||||
inline uint32_t size() noexcept {
|
||||
return end;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user