I'm facing some uncertainty with const template arguments.
Maybe someone could explain the general strategy.
int main(int arc, char** argv)
std::vector<const int> vec;
const int i = 5;
vec = 4; //const has gone away
std::vector<const int*> pvec;
const int* pi = new int(5);
*(pvec) = 4; // not possible because const, compile error
From the first impression, it is not possible to create a vector of
But you can do it with pointers.