在克++爲常量性病,元件接入操作者::矢量<>被定義爲如下:(/usr/include/c++/7.1.1/bits/stl_vector.h) /**
* @brief Subscript access to the data contained in the %vector.
* @param __n The index of the element for which d
這是我的理解是這樣的事情是好的: const int ci = 42;
const int *cip = &ci;
int *ip = (int *)cip;
int j = *ip;
這個怎麼樣? const int ci = 42;
const int *cip = &ci;
const int **cipp = &cip;
int **ipp = (int **)cipp;