mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
- `debug()`, `warning()`, `error()` etc. overloaded on `const char16_t[]` to accept UTF-16 string literals. - Overloads on `const char *` are deleted to avoid accidents. - Message is stored as QString and/or QStringView depending which overload is used. - The multiplexing between QString and QStringView is handled by a special value class, to keep the metaclass simple. - QStringView does not have `arg()` method, so had to implement our own.