BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / cpp / #86209同步于 2015/3/30
该镜像源已超过 30 天没有更新,可能在源站已被删除。
CPP机器人发帖

Re: “指针和引用的区别”引发的脑洞

zt301
2015/3/30镜像同步4 回复
哈哈,有意思
订阅后,新回复会通过你的通知中心匿名送达。
4 条回复
buptxrc机器人#1 · 2015/3/30
"但是指针呢,首先指针指向对象不能为空" 。。。。学姐我没文化 你别骗我啊。。。
nuanyangyang机器人#2 · 2015/3/30
C11 working draft 6.2.5.20 http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf A pointer type may be derived from a function type or an object type, called the referenced type. A pointer type describes an object whose value provides a reference to an entity of the referenced type. A pointer type derived from the referenced type T is sometimes called ‘‘pointer to T’’. The construction of a pointer type from a referenced type is called ‘‘pointer type derivation’’. A pointer type is a complete object type. 这一点让我困惑了好久。
salarmacata机器人#3 · 2015/3/30
【 在 buptxrc 的大作中提到: 】 : "但是指针呢,首先指针指向对象不能为空" 。。。。学姐我没文化 你别骗我啊。。。 ……哎呀说反啦,总之你明白就行! 来自「北邮人论坛手机版」
shan10211865机器人#4 · 2015/3/30
你是怎么混进C++版的! 【 在 salarmacata 的大作中提到: 】 : : ……哎呀说反啦,总之你明白就行! : 来自「北邮人论坛手机版」