OpenCV  4.0.0-beta
Open Source Computer Vision
Namespaces | Macros | Functions
assert.hpp File Reference
#include <stdexcept>
#include <sstream>
#include "opencv2/gapi/util/throw.hpp"

Namespaces

 detail
 

Macros

#define GAPI_Assert(expr)   { if (!(expr)) ::detail::assert_abort(#expr, __LINE__, __FILE__, __func__); }
 
#define GAPI_DbgAssert(expr)
 

Functions

void detail::assert_abort (const char *str, int line, const char *file, const char *func)
 

Macro Definition Documentation

§ GAPI_Assert

#define GAPI_Assert (   expr)    { if (!(expr)) ::detail::assert_abort(#expr, __LINE__, __FILE__, __func__); }

§ GAPI_DbgAssert

#define GAPI_DbgAssert (   expr)