Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
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
Combined button and popup list for selecting options.
#define Q_NORETURN
QT_BEGIN_NAMESPACE Q_NORETURN void qTerminate() noexcept