12 namespace internal_use_do_not_use {
42 inline
void check(
bool pred, std::string_view
msg) {
44 internal_use_do_not_use::eosio_assert_message(
false,
msg.data(),
msg.size());
57 inline void check(
bool pred,
const char*
msg) {
59 internal_use_do_not_use::eosio_assert(
false,
msg);
73 inline void check(
bool pred,
const std::string&
msg) {
75 internal_use_do_not_use::eosio_assert_message(
false,
msg.data(),
msg.size());
89 inline void check(
bool pred, std::string&&
msg) {
91 internal_use_do_not_use::eosio_assert_message(
false,
msg.data(),
msg.size());
107 inline void check(
bool pred,
const char*
msg,
size_t n) {
109 internal_use_do_not_use::eosio_assert_message(
false,
msg, n);
124 inline void check(
bool pred,
const std::string&
msg,
size_t n) {
126 internal_use_do_not_use::eosio_assert_message(
false,
msg.data(), n);
142 internal_use_do_not_use::eosio_assert_code(
false,
code);