c++ - Possible to re-name STL vector? -
i working on big , old c++ project. word "vector" has been used on place. trying add new functionality project utilizing stl vector. not working. in addition, allowed modify specific sections of code, can not change use of "vector".
is there way rename stl vector , use it?
use c++ namespaces.
#include <vector> // note absence of `using namespace std;` line int main() { // note `std::` qualification std::vector<int> x; // ... }
Comments
Post a Comment