11
Is this conversion type safe
vector<int*> a;
const vector<const int*>& b = reinterpret_cast<const vector<const int*>&>(a);
A static cast obviously doesnt work in this case because the template argument is changing. But by doing this reinterpret cast, I am just adding constness to essentially the same type. So should this be safe for all practical purposes?