编译器错误 C2864
时间: 2023-11-19 18:55:32 浏览: 90
C编译错误信息
编译器错误 C2864是指在编译过程中遇到了初始化非静态常量整型数据成员的错误。 这个错误通常是因为在类中错误地对非静态常量整型数据成员进行了初始化。要解决这个问题,需要确保只有静态常量整型数据成员才可以在类中初始化。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [error C2864 只有静态常量整型数据成员才可以在类中初始化](https://blog.csdn.net/quantum7/article/details/119023886)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Microsoft VBScript 编译器错误 错误原因 代码大全](https://download.csdn.net/download/weixin_38680506/14012393)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [什么是Java中的异常处理机制?Java中的异常分为哪些类型?(java面试题附答案).txt](https://download.csdn.net/download/weixin_44609920/88235523)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文