mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-22 01:20:39 +00:00
C++20 makes string literals defined with u8"my string" as using a new type char8_t. This is sensible, as plain char might not have 8 bits, but conflicts with our bytes type. Adjust by having overloads that cast back to char*. This limits us to environments where char is 8 bits, but this is already a restriction we have. Reviewed-by: Dejan Mircevski <dejan@scylladb.com> Message-Id: <20200512101646.127688-1-avi@scylladb.com>