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.