Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qexceptionhandling.cpp
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
5
6#include <exception>
7
8QT_BEGIN_NAMESPACE
9
10/*
11 \internal
12 Allows you to call std::terminate() without including <exception>.
13 Called internally from QT_TERMINATE_ON_EXCEPTION
14*/
15Q_NORETURN void qTerminate() noexcept
16{
17 std::terminate();
18}
19
20QT_END_NAMESPACE
QT_BEGIN_NAMESPACE Q_NORETURN void qTerminate() noexcept