gpt4 book ai didi

c++ - C/C++ : `const` position in function's argument list

转载 作者:行者123 更新时间:2023-11-28 03:07:56 24 4
gpt4 key购买 nike

<分区>

void func1 (const int *);
void func2 (int const *);
void func3 (int * const);

哪两个签名是等价的?如果两者都不是,您能否解释其中的细微差别?

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