C++ 语言/变量/统一初始化
外观
你可以使用三种不同的语法来初始化变量:传统的“隐式初始化”(int iVar = 11;
)、传统的“显式初始化”(int iVar(11);
)和现代的“统一初始化”(int iVar {11};
)。
The Wikibooks community is developing a policy on the use of generative AI. Please review the draft policy and provide feedback on its talk page.