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>
5using std::unreachable;
6#else
7
8namespace asmgrader {
9
10// Example implemention from cppreference
11[[noreturn]] inline void unreachable() {
12 __builtin_unreachable();
13}
14
15} // namespace asmgrader
16
17#endif
Definition asm_buffer.hpp:19
void unreachable()
Definition unreachable.hpp:11