作者march20 ()
看板Programming
标题Re: [问题]<data_type> *& variable_name;
时间Thu Aug 17 12:17:08 2006
好像没人回, 简单回一下.
※ 引述《[email protected] (new born)》之铭言:
: 请问一下以下的宣告有什麽特别的意义要宣告成降?
简单来说, 就是 reference to pointer.
: e.x.
: int *& variable_name;
variable_name 是个 reference, 指向一个 int *
: class stack *& a_stack;
a_stack 是个 reference, 指向一个 class stack *
: 谢谢!
※ 编辑: march20 来自: 71.137.83.246 (08/17 12:19)