light/modules/lsd/utils.cppm
light7734 19187aa1d6
Some checks reported errors
continuous-integration/drone/push Build was killed
wip: feat: lsd
2025-11-18 19:06:44 +03:30

30 lines
502 B
C++

export module lsd.utils;
import std;
export namespace lt::lsd {
[[noreturn]] void unreachable() noexcept
{
#if defined(__clang__) || defined(__GNUC__)
__builtin_unreachable();
#elif defined(_MSC_VER)
std::terminate();
__assume(0);
#else
std::terminate();
#endif
}
// NOLINTBEGIN
using ::std::bit_cast;
using ::std::declval;
using ::std::format;
using ::std::forward;
using ::std::move;
using ::std::println;
using ::std::system;
using ::std::to_underlying;
// NOLINTEND
} // namespace lt::lsd