OpenCV  4.5.3
Open Source Computer Vision
Macros
assert.hpp File Reference
#include <opencv2/gapi/util/compiler_hints.hpp>
#include <opencv2/core/base.hpp>

Macros

#define GAPI_Assert   CV_Assert
 
#define GAPI_DbgAssert(expr)   GAPI_DbgAssertNoOp(expr)
 
#define GAPI_DbgAssertNoOp(expr)
 

Macro Definition Documentation

◆ GAPI_Assert

#define GAPI_Assert   CV_Assert

◆ GAPI_DbgAssert

#define GAPI_DbgAssert (   expr)    GAPI_DbgAssertNoOp(expr)

◆ GAPI_DbgAssertNoOp

#define GAPI_DbgAssertNoOp (   expr)
Value:
{ \
constexpr bool _assert_tmp = false && (expr); \
}
void suppress_unused_warning(const T &)
Utility template function to prevent "unused" warnings by various compilers.
Definition: compiler_hints.hpp:15