Comment

Comment by Matheus28

Your implementation is missing header guards. It's using placement new wrong in a lot of places (for example, your emplace_back calls the constructor, then the assignment operator). It isn't calling destructors on clear. It doesn't have a destructor (to call clear). Probably a couple more issues regarding the initialization/destruction of objects that need to be ironed out.
parent Matheus28 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton