HIBF
1.0.0-rc.1
Loading...
Searching...
No Matches
unreachable.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2006-2026, Knut Reinert & Freie Universität Berlin
2
// SPDX-FileCopyrightText: 2016-2026, Knut Reinert & MPI für molekulare Genetik
3
// SPDX-License-Identifier: BSD-3-Clause
4
10
#pragma once
11
12
// IWYU pragma: begin_exports
13
14
#include <
cassert
>
// for assert
15
#include <
utility
>
// for std::unreachable
16
17
// IWYU pragma: end_exports
18
19
#include <
hibf/platform.hpp
>
20
21
namespace
seqan::hibf
22
{
23
36
#ifndef NDEBUG
37
[[noreturn]]
inline
void
unreachable
()
// GCOVR_EXCL_LINE
38
{
39
assert(
false
);
// GCOVR_EXCL_LINE
40
}
41
#else
42
using
std::unreachable;
43
#endif
44
45
}
// namespace seqan::hibf
cassert
platform.hpp
Provides platform and dependency checks.
seqan::hibf::unreachable
void unreachable()
Marks unreachable code paths.
Definition
unreachable.hpp:37
utility
hibf
misc
unreachable.hpp
Generated on Fri Oct 30 2026 02:59:02 for HIBF by
1.10.0