tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_debugger_present.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2// SPDX-FileCopyrightText: Copyright (C) 2024 Tobias Hienzsch
3
4#ifndef TETL_DEBUGGING_IS_DEBUGGER_PRESENT_HPP
5#define TETL_DEBUGGING_IS_DEBUGGER_PRESENT_HPP
6
7#include <etl/_config/all.hpp>
8
9namespace etl {
10
11/// Attempts to determine if the program is being executed with debugger present.
12/// \ingroup debugging
13[[nodiscard]] inline auto is_debugger_present() noexcept -> bool
14{
15 return false;
16}
17
18} // namespace etl
19
20#endif // TETL_DEBUGGING_IS_DEBUGGER_PRESENT_HPP
auto is_debugger_present() noexcept -> bool
Attempts to determine if the program is being executed with debugger present.
Definition is_debugger_present.hpp:13
Definition adjacent_find.hpp:9