remove string_view STL dependency (#703)

* remove string_view STL dependency

* fix

* inline string literal handling directly

* simplify dispatch
This commit is contained in:
Schrodinger ZHU Yifan
2024-12-15 02:46:49 -05:00
committed by GitHub
parent 1250ee002f
commit cbc3018e1a
4 changed files with 39 additions and 8 deletions

View File

@@ -232,7 +232,8 @@ int main(int argc, char** argv)
1234567};
if (
strcmp(
"testing pointer 0x42 size_t 0x2a message, hello world, null is 0x0, "
"testing pointer 0x42 size_t 0x2a message, hello world, null is "
"(nullptr), "
"-123456 is -123456, 1234567 is 1234567",
b.get_message()) != 0)
{