Download include/opencv2/gapi/own/assert.hpp from dlxjj/opencv: direct link, hf CLI and curl.
- Browser
- Download file 1.66 kB
-
https://huggingface.co/datasets/dlxjj/opencv/resolve/main/include/opencv2/gapi/own/assert.hpp
- Command line
-
hf download hf://datasets/dlxjj/opencv/include/opencv2/gapi/own/assert.hpp
-
curl -L -o assert.hpp https://huggingface.co/datasets/dlxjj/opencv/resolve/main/include/opencv2/gapi/own/assert.hpp
1.66 kB
| // This file is part of OpenCV project. | |
| // It is subject to the license terms in the LICENSE file found in the top-level directory | |
| // of this distribution and at http://opencv.org/license.html. | |
| // | |
| // Copyright (C) 2018-2020 Intel Corporation | |
| namespace detail | |
| { | |
| [[noreturn]] inline void assert_abort(const char* str, int line, const char* file, const char* func) | |
| { | |
| std::stringstream ss; | |
| ss << file << ":" << line << ": Assertion " << str << " in function " << func << " failed\n"; | |
| cv::util::throw_error(std::logic_error(ss.str())); | |
| } | |
| } | |