c++ library restrictions

If, by "vector", you mean an array with dynamic length, then it is unlikely to be useful on the Arduino.
Dynamically allocated memory does not work very well on the arduino.

You'd be better advised to learn to do with it, and implement your project another way.