gpt4 book ai didi

C++ 类名::GetSth(类型名* &pSth)

转载 作者:行者123 更新时间:2023-11-27 23:19:18 28 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
what’s the meaning of *&

  1. * &pSth 是什么意思?
  2. 这是一个指针还是一个ref
  3. 我们为什么/什么时候需要它?

--代码--

ClassName::GetSth(TypeName* &pSth)
{
//some code
}

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com