gpt4 book ai didi

c++ - static_message 或类似的东西

转载 作者:行者123 更新时间:2023-11-30 04:29:45 24 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
Does there exist a static_warning?

有没有办法在编译时实现非致命消息,就像 static_assert 在条件失败时所做的那样?在编译器遇到消息时始终显示一条消息是不够的,我希望它在例如实例化模板时显示。

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