开发者

boost.parameter and constructors

开发者 https://www.devze.com 2023-02-03 11:17 出处:网络
In the documentation: http://www.boost.org/doc/libs/1_45_0/libs/parameter/doc/html/index.html#parameter-enabled-constructors

In the documentation: http://www.boost.org/doc/libs/1_45_0/libs/parameter/doc/html/index.html#parameter-enabled-constructors

Do I understand correctly, that I can't use parameter names without using base-class, as shown in the example?

Because macro BOOST_P开发者_JAVA百科ARAMETER_CONSTRUCTOR, as the second argument requires the name of base-class to be specified.

Thanks.


Yes, that would be correct. 123

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号