AsmGrader
0.0.0
Loading...
Searching...
No Matches
unreachable.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#ifdef __cpp_lib_unreachable
4
#include <utility>
5
using
std::unreachable;
6
#else
7
8
namespace
asmgrader
{
9
10
// Example implemention from cppreference
11
[[noreturn]]
inline
void
unreachable
() {
12
__builtin_unreachable();
13
}
14
15
}
// namespace asmgrader
16
17
#endif
asmgrader
Definition
asm_buffer.hpp:19
asmgrader::unreachable
void unreachable()
Definition
unreachable.hpp:11
include
asmgrader
common
unreachable.hpp
Generated by
1.12.0