blob: b03b31b60ec1189c25266a0bcd44d078dfc7ca62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "packbits-impl.hpp"
#include "compat/exception.hpp"
namespace floormat::Pack_impl {
void throw_on_read_nonzero() noexcept(false)
{
throw std::runtime_error{"extra bits in pack_read()"};
}
void throw_on_write_input_bit_overflow() noexcept(false)
{
throw std::runtime_error{"extra bits in pack_write()"};
}
} // namespace floormat::Pack_impl
|