gpt4 book ai didi

c++ - boost.parameter 和构造函数

转载 作者:行者123 更新时间:2023-11-28 08:24:13 25 4
gpt4 key购买 nike

在文档中:http://www.boost.org/doc/libs/1_45_0/libs/parameter/doc/html/index.html#parameter-enabled-constructors

我是否理解正确,我不能在不使用基类的情况下使用参数名称,如示例所示?

因为宏 BOOST_PARAMETER_CONSTRUCTOR,作为第二个参数需要指定基类的名称。

谢谢。

最佳答案

是的,那是正确的。 123

关于c++ - boost.parameter 和构造函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4619719/

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