📌 📄 内容摘要:
chenggou 在 [沟槽的C++] 摸鱼的进来做题(const/auto) 中发帖
int main() {
int const a = 5;
int const *b = &a;
int const *const c = &a;
int const *const *const d = &c;
int const *const *const &e = d;
int const &ref2 = 42; // true or false ?
int &&ref3 = 42;
auto const t = b; // type ?
auto tt = a; // type ?
auto ttt = c; // type ?
auto tttt = d; // type ?
auto ttttt = e; // type ?
auto tttttt = ref2...
────────── 链接信息 ──────────
🔗 论坛链接: linux.do
📎 访问地址: https://linux.do/t/topic/1217209/1
─────────────────────────────
📢 来源:LINUX DO