In C++ is there a way to get the name of a vector that was passed to a function inside the function?
#include<bits/stdc++.h> 
using namespace std; 
void func(vector<int> &vect) 
{ 
std::cout << "The name of vector passed to func is " << vect.GETNAME();
} 
int main() 
{ 
    vector<int> vectorName; 
    func(vect); 
    return 0; 
} 
I expect to see "The name of vector passed to func is vectorName".
I have tried googling the error and understand that you cannot get object names in c++ but can I modify the vector class to add a getName() method?
 
    