CV_Assert的含义
来源:互联网 发布:安全座椅选择 知乎 编辑:程序博客网 时间:2024/06/04 19:43
Checks a condition at runtime and throws exception if it fails
- C++:CV_Assert(exprNone)
Parameters: - expr – Expression for check.
The macros CV_Assert (and CV_DbgAssert) evaluate the specified expression. If it is 0, the macros raise an error (seeerror() ). The macroCV_Assert checks the condition in both Debug and Release configurations whileCV_DbgAssert is only retained in the Debug configuration.
翻译如下:
检查运行情况,如果出现错误,则显示错误信息。
c++: CV_Assert(exprNone)
expr参数含义:检查的对象。
宏CV_Asser(和宏CV_DbgAssert)可以评估指定的表达方式。如果参数none是0,该宏返回一个错误。宏CV_Assert在Debug 和 Release模式下都可以检查运行情况,但是宏CV_DbgAssert只在Debug下可以使用。
我的理解:
CV_Assert()若括号中的表达式值为false,则返回一个错误信息。
0 0
- CV_Assert的含义
- CV_Assert()
- OpenCV的函数的开头部分CV_Assert的意思!
- CV_Assert()
- CV_Assert函数 C++ assert()函数
- "/"的含义
- /的含义
- $的含义
- *&的含义
- [花的含义]用花含义指南
- 数组名的含义、指针含义
- CRUD的含义
- 字母的爱情含义
- 花的含义
- 色带的含义
- 花的含义
- love的含义
- IDR_MAINFRAME的含义
- 在Flex中用Validator检测数字、字符串、Email、电话号码等 .
- android paint 研究总结
- squid介绍
- 记录自己做的一个简单的局域网聊天程序
- Linux之crontab定时任务
- CV_Assert的含义
- [oc学习日记]字典
- Spring动态管理IoC容器中的Bean
- php面向对象(OOP)—接口(interface)
- Android下Invalid layout of java.lang.String at value的解决
- 人月神话第一章焦油坑试读
- 黑马程序员_方法与数组
- 消息推送(一)Comet介绍
- CSDN新开博客,以后就这里写东西了